Skip to content

Commit 992a904

Browse files
sota1235targos
authored andcommittedNov 28, 2018
test: fix arguments order in assert.strictEqual
PR-URL: #24607 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Masashi Hirano <[email protected]>
1 parent f8acf73 commit 992a904

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎test/parallel/test-repl-envvars.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ function run(test) {
4747
REPL.createInternalRepl(env, opts, function(err, repl) {
4848
assert.ifError(err);
4949

50-
assert.strictEqual(expected.terminal, repl.terminal,
50+
assert.strictEqual(repl.terminal, expected.terminal,
5151
`Expected ${inspect(expected)} with ${inspect(env)}`);
52-
assert.strictEqual(expected.useColors, repl.useColors,
52+
assert.strictEqual(repl.useColors, expected.useColors,
5353
`Expected ${inspect(expected)} with ${inspect(env)}`);
5454
repl.close();
5555
});

0 commit comments

Comments
 (0)
Please sign in to comment.