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 MylesBorins committed Oct 30, 2018
1 parent eac6ba9 commit ed9f8ac
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 ed9f8ac

Please sign in to comment.