File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ tap.test('failures', function (tt) {
6262 ' expected: |-' ,
6363 ' [Function: TypeError]' ,
6464 ' actual: |-' ,
65- ' { [RangeError: actual!] ' + ( 'cause' in Error . prototype ? '[cause]: undefined, ' : '' ) + " message: 'actual!' }",
65+ " { [RangeError: actual!] message: 'actual!' }",
6666 ' at: Test.<anonymous> ($TEST/throws.js:$LINE:$COL)' ,
6767 ' stack: |-' ,
6868 ' RangeError: actual!' ,
@@ -103,7 +103,7 @@ tap.test('failures', function (tt) {
103103 ' expected: |-' ,
104104 ' \'/Second$/\'' ,
105105 ' actual: |-' ,
106- ' { [Error: First] ' + ( 'cause' in Error . prototype ? '[cause]: undefined, ' : '' ) + ' message: \'First\' }',
106+ ' { [Error: First] message: \'First\' }' ,
107107 ' at: Test.<anonymous> ($TEST/throws.js:$LINE:$COL)' ,
108108 ' stack: |-' ,
109109 ' Error: First' ,
You can’t perform that action at this time.
0 commit comments