diff options
author | Gibson Fahnestock <gib@uk.ibm.com> | 2017-01-08 15:36:25 +0000 |
---|---|---|
committer | Gibson Fahnestock <gib@uk.ibm.com> | 2017-01-11 14:19:26 +0000 |
commit | 3d2aef3979cf7ac986908dbb9879216caec4a3ff (patch) | |
tree | 0566cf3150e4b9bcce3359814b3927c562bdbc42 /test/parallel/test-repl-envvars.js | |
parent | 81fef918d5a8a9aa297b78ade5e58d6caa3176e6 (diff) | |
download | android-node-v8-3d2aef3979cf7ac986908dbb9879216caec4a3ff.tar.gz android-node-v8-3d2aef3979cf7ac986908dbb9879216caec4a3ff.tar.bz2 android-node-v8-3d2aef3979cf7ac986908dbb9879216caec4a3ff.zip |
test: s/assert.equal/assert.strictEqual/
Use assert.strictEqual instead of assert.equal in tests, manually
convert types where necessary.
PR-URL: https://github.com/nodejs/node/pull/10698
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
Diffstat (limited to 'test/parallel/test-repl-envvars.js')
-rw-r--r-- | test/parallel/test-repl-envvars.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/parallel/test-repl-envvars.js b/test/parallel/test-repl-envvars.js index e8c369b244..bd4e1fc9af 100644 --- a/test/parallel/test-repl-envvars.js +++ b/test/parallel/test-repl-envvars.js @@ -50,10 +50,10 @@ function run(test) { // The REPL registers 'module' and 'require' globals common.allowGlobals(repl.context.module, repl.context.require); - assert.equal(expected.terminal, repl.terminal, - 'Expected ' + inspect(expected) + ' with ' + inspect(env)); - assert.equal(expected.useColors, repl.useColors, - 'Expected ' + inspect(expected) + ' with ' + inspect(env)); + assert.strictEqual(expected.terminal, repl.terminal, 'Expected ' + + inspect(expected) + ' with ' + inspect(env)); + assert.strictEqual(expected.useColors, repl.useColors, 'Expected ' + + inspect(expected) + ' with ' + inspect(env)); repl.close(); }); } |