From edb12444c5e9beef20596a497ab9230a2cd5376e Mon Sep 17 00:00:00 2001 From: sota1235 Date: Sat, 24 Nov 2018 16:36:59 +0900 Subject: [PATCH] test: fixed the arguments order in `assert.strictEqual` --- test/parallel/test-repl-envvars.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/parallel/test-repl-envvars.js b/test/parallel/test-repl-envvars.js index d6a45a664fa3b7..5606efc26ed031 100644 --- a/test/parallel/test-repl-envvars.js +++ b/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(); });