Skip to content

Commit 30c48fd

Browse files
rmarkins-godaddyjasnell
authored andcommitted
test: correct assert test
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>
1 parent 7d0f50c commit 30c48fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-console-instance.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ c.log('test');
7272
c.error('test');
7373

7474
out.write = common.mustCall((d) => {
75-
assert.strictEqual('{ foo: 1 }\n', d);
75+
assert.strictEqual(d, '{ foo: 1 }\n');
7676
});
7777

7878
c.dir({ foo: 1 });

0 commit comments

Comments
 (0)