Skip to content

Commit f619f60

Browse files
committed
Update existing tests to properly reference anonymous names
1 parent 32faf70 commit f619f60

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

test/exit.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ tap.test('exit fail', function (t) {
5252
' operator: deepEqual',
5353
' expected: [ [ 1, 2, [ 3, 4444 ] ], [ 5, 6 ] ]',
5454
' actual: [ [ 1, 2, [ 3, 4 ] ], [ 5, 6 ] ]',
55-
' at: Test.<anonymous> ($TEST/exit/fail.js:$LINE:$COL)',
55+
' at: <anonymous> ($TEST/exit/fail.js:$LINE:$COL)',
5656
' stack: |-',
5757
' Error: should be equivalent',
5858
' [... stack stripped ...]',

test/fail.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ tap.test('array test', function (tt) {
2222
' operator: deepEqual',
2323
' expected: [ [ 1, 2, [ 3, 4444 ] ], [ 5, 6 ] ]',
2424
' actual: [ [ 1, 2, [ 3, 4 ] ], [ 5, 6 ] ]',
25-
' at: Test.<anonymous> ($TEST/fail.js:$LINE:$COL)',
25+
' at: <anonymous> ($TEST/fail.js:$LINE:$COL)',
2626
' stack: |-',
2727
' Error: should be equivalent',
2828
' [... stack stripped ...]',

test/too_many.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ tap.test('array test', function (tt) {
2222
' operator: fail',
2323
' expected: 3',
2424
' actual: 4',
25-
' at: Test.<anonymous> ($TEST/too_many.js:$LINE:$COL)',
25+
' at: <anonymous> ($TEST/too_many.js:$LINE:$COL)',
2626
' stack: |-',
2727
' Error: plan != count',
2828
' [... stack stripped ...]',

0 commit comments

Comments
 (0)