test: fix arguments order in assert.strictEqual
PR-URL: https://github.com/nodejs/node/pull/24607 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Masashi Hirano <shisama07@gmail.com>
This commit is contained in:
parent
60743638cc
commit
f351c5dd08
@ -47,9 +47,9 @@ function run(test) {
|
|||||||
REPL.createInternalRepl(env, opts, function(err, repl) {
|
REPL.createInternalRepl(env, opts, function(err, repl) {
|
||||||
assert.ifError(err);
|
assert.ifError(err);
|
||||||
|
|
||||||
assert.strictEqual(expected.terminal, repl.terminal,
|
assert.strictEqual(repl.terminal, expected.terminal,
|
||||||
`Expected ${inspect(expected)} with ${inspect(env)}`);
|
`Expected ${inspect(expected)} with ${inspect(env)}`);
|
||||||
assert.strictEqual(expected.useColors, repl.useColors,
|
assert.strictEqual(repl.useColors, expected.useColors,
|
||||||
`Expected ${inspect(expected)} with ${inspect(env)}`);
|
`Expected ${inspect(expected)} with ${inspect(env)}`);
|
||||||
repl.close();
|
repl.close();
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user