diff options
author | sota1235 <sota1235@gmail.com> | 2018-11-24 16:36:59 +0900 |
---|---|---|
committer | Gireesh Punathil <gpunathi@in.ibm.com> | 2018-11-28 19:38:30 +0530 |
commit | f351c5dd080582278e75a930e556bda674b0338f (patch) | |
tree | 868383c88d0b8d816b69ffa7a4d085a33fe12e82 /test | |
parent | 60743638cc0c5b70bc2fc998ab4d0e13c59a26f7 (diff) | |
download | android-node-v8-f351c5dd080582278e75a930e556bda674b0338f.tar.gz android-node-v8-f351c5dd080582278e75a930e556bda674b0338f.tar.bz2 android-node-v8-f351c5dd080582278e75a930e556bda674b0338f.zip |
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>
Diffstat (limited to 'test')
-rw-r--r-- | test/parallel/test-repl-envvars.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-repl-envvars.js b/test/parallel/test-repl-envvars.js index d6a45a664f..5606efc26e 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(); }); |