diff options
author | brad-decker <bhdecker84@gmail.com> | 2016-11-29 12:33:28 -0600 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2016-12-01 13:50:25 -0600 |
commit | 18016d3b3fd27fd2744a17a54f15631af6206df1 (patch) | |
tree | 2a6b765d9f668ab212cbf154ec2db0bbd32bb72b /test/addons/load-long-path | |
parent | cf719152b01a68bc65f80842799b4c6be0299d78 (diff) | |
download | android-node-v8-18016d3b3fd27fd2744a17a54f15631af6206df1.tar.gz android-node-v8-18016d3b3fd27fd2744a17a54f15631af6206df1.tar.bz2 android-node-v8-18016d3b3fd27fd2744a17a54f15631af6206df1.zip |
test: replace assert.equal with assert.strictEqual
Using NodeTodo I learned of a need to swap out the .equal function
with .strictEqual in a few test files.
https://twitter.com/NodeTodo/status/803657321993961472
https://gist.github.com/Trott/864401455d4afa2428cd4814e072bd7c
additional commits squashed:
.strictEqual's argument signature is actual, expected, [message].
Previously some statements were listed as expected, actual.
As asked in PR i swapped them to match the correct argument signature.
PR-URL: https://github.com/nodejs/node/pull/9842
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Diffstat (limited to 'test/addons/load-long-path')
-rw-r--r-- | test/addons/load-long-path/test.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/addons/load-long-path/test.js b/test/addons/load-long-path/test.js index 2f09f2b3ff..b17942b45a 100644 --- a/test/addons/load-long-path/test.js +++ b/test/addons/load-long-path/test.js @@ -34,4 +34,4 @@ fs.writeFileSync(addonDestinationPath, contents); // Attempt to load at long path destination var addon = require(addonDestinationPath); assert.notEqual(addon, null); -assert.equal(addon.hello(), 'world'); +assert.strictEqual(addon.hello(), 'world'); |