★ wanayoo — archive 1999 https://github.com/nodejs/node/commit/992a9040bfNouvelle recherche | Portail wanayoo
Skip to content
Permalink
Browse files

test: fix arguments order in `assert.strictEqual`

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 24, 2018
1 parent f8acf73 commit 992a9040bf5cc6c470dfd4114685e56e248a94a3
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/parallel/test-repl-envvars.js
@@ -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();
});

0 comments on commit 992a904

Please sign in to comment.
You can’t perform that action at this time.