Skip to content

Commit ab89426

Browse files
committed
fixup! tests
1 parent b353576 commit ab89426

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/parallel/test-assert-deep.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1068,7 +1068,7 @@ test('Check proxies', () => {
10681068
assert.throws(
10691069
() => assert.deepStrictEqual(arrProxy, [1, 2, 3]),
10701070
{ message: `${defaultMsgStartFull}\n\n` +
1071-
' [\n 1,\n 2,\n- 3\n ]\n' }
1071+
'+ Proxy([\n- [\n 1,\n 2,\n+ ])\n- 3\n- ]\n' }
10721072
);
10731073
util.inspect.defaultOptions = tmp;
10741074

test/parallel/test-repl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -730,7 +730,7 @@ const errorTests = [
730730
},
731731
{
732732
send: 'repl.writer.options.showProxy = false, new Proxy({x:42}, {});',
733-
expect: '{ x: 42 }'
733+
expect: 'Proxy({ x: 42 })'
734734
},
735735

736736
// Newline within template string maintains whitespace.

0 commit comments

Comments
 (0)