diff options
author | Richard Markins <rmarkins@godaddy.com> | 2018-10-12 09:51:11 -0700 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2018-10-13 09:36:15 -0700 |
commit | 1c73990a7d7eba5296cded6bd4bd989a0bd636d3 (patch) | |
tree | 104d4becd0ad78e0c46b3270c27ab0a02d10b85b /test/parallel/test-console-instance.js | |
parent | 657ee7b0251234c11ddeb629936612f70bfbdb02 (diff) | |
download | android-node-v8-1c73990a7d7eba5296cded6bd4bd989a0bd636d3.tar.gz android-node-v8-1c73990a7d7eba5296cded6bd4bd989a0bd636d3.tar.bz2 android-node-v8-1c73990a7d7eba5296cded6bd4bd989a0bd636d3.zip |
test: correct assert test
PR-URL: https://github.com/nodejs/node/pull/23463
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Diffstat (limited to 'test/parallel/test-console-instance.js')
-rw-r--r-- | test/parallel/test-console-instance.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-console-instance.js b/test/parallel/test-console-instance.js index 5a2e10b419..0b69212948 100644 --- a/test/parallel/test-console-instance.js +++ b/test/parallel/test-console-instance.js @@ -72,7 +72,7 @@ c.log('test'); c.error('test'); out.write = common.mustCall((d) => { - assert.strictEqual('{ foo: 1 }\n', d); + assert.strictEqual(d, '{ foo: 1 }\n'); }); c.dir({ foo: 1 }); |