Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Commit

Permalink
test: disabling part of util-format test due to different property or…
Browse files Browse the repository at this point in the history
…dering
  • Loading branch information
MSLaguana committed Sep 28, 2017
1 parent 6ede8e1 commit a642b88
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions test/parallel/test-util-format.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,17 +149,19 @@ assert.strictEqual(
' [name]: \'func\',\n' +
' [length]: 0 } }'
}));
assert.strictEqual(
util.format('%o', nestedObj2),
'{ foo: \'bar\',\n' +
' foobar: 1,\n' +
' func: \n' +
' [ { a: \n' +
' { [Function: a]\n' +
' [length]: 0,\n' +
' [name]: \'a\',\n' +
' [prototype]: a { [constructor]: [Circular] } } },\n' +
' [length]: 1 ] }');
if (!common.isChakraEngine) {
assert.strictEqual(
util.format('%o', nestedObj2),
'{ foo: \'bar\',\n' +
' foobar: 1,\n' +
' func: \n' +
' [ { a: \n' +
' { [Function: a]\n' +
' [length]: 0,\n' +
' [name]: \'a\',\n' +
' [prototype]: a { [constructor]: [Circular] } } },\n' +
' [length]: 1 ] }');
}
assert.strictEqual(
util.format('%o', nestedObj),
common.engineSpecificMessage({
Expand Down

0 comments on commit a642b88

Please sign in to comment.