Skip to content

Commit

Permalink
test: correct assert test
Browse files Browse the repository at this point in the history
PR-URL: #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>
  • Loading branch information
rmarkins-godaddy authored and jasnell committed Oct 17, 2018
1 parent 7d0f50c commit 30c48fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-console-instance.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
Expand Down

0 comments on commit 30c48fd

Please sign in to comment.