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>
This commit is contained in:
parent
657ee7b025
commit
1c73990a7d
@ -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 });
|
||||
|
Loading…
x
Reference in New Issue
Block a user