Skip to content

Commit

Permalink
test: fix arguments order in assert.strictEqual
Browse files Browse the repository at this point in the history
PR-URL: #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>
  • Loading branch information
sota1235 authored and targos committed Nov 28, 2018
1 parent f8acf73 commit 992a904
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-repl-envvars.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ function run(test) {
REPL.createInternalRepl(env, opts, function(err, repl) {
assert.ifError(err);

assert.strictEqual(expected.terminal, repl.terminal,
assert.strictEqual(repl.terminal, expected.terminal,
`Expected ${inspect(expected)} with ${inspect(env)}`);
assert.strictEqual(expected.useColors, repl.useColors,
assert.strictEqual(repl.useColors, expected.useColors,
`Expected ${inspect(expected)} with ${inspect(env)}`);
repl.close();
});
Expand Down

0 comments on commit 992a904

Please sign in to comment.