Skip to content

Commit

Permalink
Update formatting-test.js
Browse files Browse the repository at this point in the history
  • Loading branch information
tbeseda committed Oct 17, 2023
1 parent 31c68db commit 0e978ad
Showing 1 changed file with 33 additions and 33 deletions.
66 changes: 33 additions & 33 deletions test/formatting-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,52 +17,52 @@ const TAP = {
'not ok 7 A failing TODO # TODO',
' ---',
' operator: fail',
' at: Test.<anonymous> (/Users/tbeseda/dev/architect/tap-arc/test/mock/create-simple-tap.cjs:19:7)',
' at: Test.<anonymous> (/test/mock/create-simple-tap.cjs:19:7)',
' ...',
'# Some failing tests',
'not ok 8 should be strictly equal',
' ---',
' operator: equal',
' expected: 666',
' actual: 66',
' at: Test.<anonymous> (/Users/tbeseda/dev/architect/tap-arc/test/mock/create-simple-tap.cjs:27:5)',
' at: Test.<anonymous> (/test/mock/create-simple-tap.cjs:27:5)',
' stack: |-',
' Error: should be strictly equal',
' at Test.assert [as _assert] (/Users/tbeseda/dev/architect/tap-arc/node_modules/tape/lib/test.js:479:48)',
' at Test.strictEqual (/Users/tbeseda/dev/architect/tap-arc/node_modules/tape/lib/test.js:643:7)',
' at Test.<anonymous> (/Users/tbeseda/dev/architect/tap-arc/test/mock/create-simple-tap.cjs:27:5)',
' at Test.run (/Users/tbeseda/dev/architect/tap-arc/node_modules/tape/lib/test.js:113:28)',
' at Immediate.next [as _onImmediate] (/Users/tbeseda/dev/architect/tap-arc/node_modules/tape/lib/results.js:157:7)',
' at Test.assert [as _assert] (/node_modules/tape/lib/test.js:479:48)',
' at Test.strictEqual (/node_modules/tape/lib/test.js:643:7)',
' at Test.<anonymous> (/test/mock/create-simple-tap.cjs:27:5)',
' at Test.run (/node_modules/tape/lib/test.js:113:28)',
' at Immediate.next [as _onImmediate] (/node_modules/tape/lib/results.js:157:7)',
' at process.processImmediate (node:internal/timers:476:21)',
' ...',
'not ok 9 should be strictly equal',
' ---',
' operator: equal',
' expected: \'Good dog\'',
' actual: \'Bad dog\'',
' at: Test.<anonymous> (/Users/tbeseda/dev/architect/tap-arc/test/mock/create-simple-tap.cjs:28:5)',
' at: Test.<anonymous> (/test/mock/create-simple-tap.cjs:28:5)',
' stack: |-',
' Error: should be strictly equal',
' at Test.assert [as _assert] (/Users/tbeseda/dev/architect/tap-arc/node_modules/tape/lib/test.js:479:48)',
' at Test.strictEqual (/Users/tbeseda/dev/architect/tap-arc/node_modules/tape/lib/test.js:643:7)',
' at Test.<anonymous> (/Users/tbeseda/dev/architect/tap-arc/test/mock/create-simple-tap.cjs:28:5)',
' at Test.run (/Users/tbeseda/dev/architect/tap-arc/node_modules/tape/lib/test.js:113:28)',
' at Immediate.next [as _onImmediate] (/Users/tbeseda/dev/architect/tap-arc/node_modules/tape/lib/results.js:157:7)',
' at Test.assert [as _assert] (/node_modules/tape/lib/test.js:479:48)',
' at Test.strictEqual (/node_modules/tape/lib/test.js:643:7)',
' at Test.<anonymous> (/test/mock/create-simple-tap.cjs:28:5)',
' at Test.run (/node_modules/tape/lib/test.js:113:28)',
' at Immediate.next [as _onImmediate] (/node_modules/tape/lib/results.js:157:7)',
' at process.processImmediate (node:internal/timers:476:21)',
' ...',
'not ok 10 Regex: match fail',
' ---',
' operator: match',
' expected: /^A/',
' actual: \'atreides\'',
' at: Test.<anonymous> (/Users/tbeseda/dev/architect/tap-arc/test/mock/create-simple-tap.cjs:29:5)',
' at: Test.<anonymous> (/test/mock/create-simple-tap.cjs:29:5)',
' stack: |-',
' Error: Regex: match fail',
' at Test.assert [as _assert] (/Users/tbeseda/dev/architect/tap-arc/node_modules/tape/lib/test.js:479:48)',
' at Test.match (/Users/tbeseda/dev/architect/tap-arc/node_modules/tape/lib/test.js:900:8)',
' at Test.<anonymous> (/Users/tbeseda/dev/architect/tap-arc/test/mock/create-simple-tap.cjs:29:5)',
' at Test.run (/Users/tbeseda/dev/architect/tap-arc/node_modules/tape/lib/test.js:113:28)',
' at Immediate.next [as _onImmediate] (/Users/tbeseda/dev/architect/tap-arc/node_modules/tape/lib/results.js:157:7)',
' at Test.assert [as _assert] (/node_modules/tape/lib/test.js:479:48)',
' at Test.match (/node_modules/tape/lib/test.js:900:8)',
' at Test.<anonymous> (/test/mock/create-simple-tap.cjs:29:5)',
' at Test.run (/node_modules/tape/lib/test.js:113:28)',
' at Immediate.next [as _onImmediate] (/node_modules/tape/lib/results.js:157:7)',
' at process.processImmediate (node:internal/timers:476:21)',
' ...',
'# Nested tests',
Expand All @@ -71,15 +71,15 @@ const TAP = {
' operator: deepEqual',
' expected: [ \'foo\', \'bar\', \'foobar baz\' ]',
' actual: [ \'foo\', \'bar\', \'baz\' ]',
' at: Test.<anonymous> (/Users/tbeseda/dev/architect/tap-arc/test/mock/create-simple-tap.cjs:32:8)',
' at: Test.<anonymous> (/test/mock/create-simple-tap.cjs:32:8)',
' stack: |-',
' Error: Sub-test partial array failure',
' at Test.assert [as _assert] (/Users/tbeseda/dev/architect/tap-arc/node_modules/tape/lib/test.js:479:48)',
' at Test.tapeDeepEqual (/Users/tbeseda/dev/architect/tap-arc/node_modules/tape/lib/test.js:720:7)',
' at Test.<anonymous> (/Users/tbeseda/dev/architect/tap-arc/test/mock/create-simple-tap.cjs:32:8)',
' at Test.run (/Users/tbeseda/dev/architect/tap-arc/node_modules/tape/lib/test.js:113:28)',
' at Test._end (/Users/tbeseda/dev/architect/tap-arc/node_modules/tape/lib/test.js:385:5)',
' at Immediate._onImmediate (/Users/tbeseda/dev/architect/tap-arc/node_modules/tape/lib/test.js:154:9)',
' at Test.assert [as _assert] (/node_modules/tape/lib/test.js:479:48)',
' at Test.tapeDeepEqual (/node_modules/tape/lib/test.js:720:7)',
' at Test.<anonymous> (/test/mock/create-simple-tap.cjs:32:8)',
' at Test.run (/node_modules/tape/lib/test.js:113:28)',
' at Test._end (/node_modules/tape/lib/test.js:385:5)',
' at Immediate._onImmediate (/node_modules/tape/lib/test.js:154:9)',
' at process.processImmediate (node:internal/timers:476:21)',
' ...',
'not ok 12 A small object deepEqual failure',
Expand All @@ -89,15 +89,15 @@ const TAP = {
' { a: \'bar\', b: [ 420 ] }',
' actual: |-',
' { a: \'foo\', b: [ 42 ], c: \'baz\' }',
' at: Test.<anonymous> (/Users/tbeseda/dev/architect/tap-arc/test/mock/create-simple-tap.cjs:37:8)',
' at: Test.<anonymous> (/test/mock/create-simple-tap.cjs:37:8)',
' stack: |-',
' Error: A small object deepEqual failure',
' at Test.assert [as _assert] (/Users/tbeseda/dev/architect/tap-arc/node_modules/tape/lib/test.js:479:48)',
' at Test.tapeDeepEqual (/Users/tbeseda/dev/architect/tap-arc/node_modules/tape/lib/test.js:720:7)',
' at Test.<anonymous> (/Users/tbeseda/dev/architect/tap-arc/test/mock/create-simple-tap.cjs:37:8)',
' at Test.run (/Users/tbeseda/dev/architect/tap-arc/node_modules/tape/lib/test.js:113:28)',
' at Test._end (/Users/tbeseda/dev/architect/tap-arc/node_modules/tape/lib/test.js:385:5)',
' at Immediate._onImmediate (/Users/tbeseda/dev/architect/tap-arc/node_modules/tape/lib/test.js:154:9)',
' at Test.assert [as _assert] (/node_modules/tape/lib/test.js:479:48)',
' at Test.tapeDeepEqual (/node_modules/tape/lib/test.js:720:7)',
' at Test.<anonymous> (/test/mock/create-simple-tap.cjs:37:8)',
' at Test.run (/node_modules/tape/lib/test.js:113:28)',
' at Test._end (/node_modules/tape/lib/test.js:385:5)',
' at Immediate._onImmediate (/node_modules/tape/lib/test.js:154:9)',
' at process.processImmediate (node:internal/timers:476:21)',
' ...',
'',
Expand Down

0 comments on commit 0e978ad

Please sign in to comment.