diff options
author | cjihrig <cjihrig@gmail.com> | 2016-12-30 10:09:13 -0500 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2017-01-06 14:08:47 -0500 |
commit | e5499b32cfcde144ee41500356d45d990cd9df0e (patch) | |
tree | 5241a5db3f80fee2d6a8e2b255f49157d5733d56 /test/parallel/test-fs-access.js | |
parent | 75ebd19d8dff5c65f94f7cf0a847b63d952ca864 (diff) | |
download | android-node-v8-e5499b32cfcde144ee41500356d45d990cd9df0e.tar.gz android-node-v8-e5499b32cfcde144ee41500356d45d990cd9df0e.tar.bz2 android-node-v8-e5499b32cfcde144ee41500356d45d990cd9df0e.zip |
test: s/assert.notEqual()/assert.notStrictEqual()/
PR-URL: https://github.com/nodejs/node/pull/10541
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Italo A. Casas <me@italoacasas.com>
Diffstat (limited to 'test/parallel/test-fs-access.js')
-rw-r--r-- | test/parallel/test-fs-access.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-fs-access.js b/test/parallel/test-fs-access.js index e3346556cf..a74ad9dcce 100644 --- a/test/parallel/test-fs-access.js +++ b/test/parallel/test-fs-access.js @@ -72,7 +72,7 @@ fs.access(__filename, fs.R_OK, common.mustCall((err) => { })); fs.access(doesNotExist, common.mustCall((err) => { - assert.notEqual(err, null, 'error should exist'); + assert.notStrictEqual(err, null, 'error should exist'); assert.strictEqual(err.code, 'ENOENT'); assert.strictEqual(err.path, doesNotExist); })); @@ -85,7 +85,7 @@ fs.access(readOnlyFile, fs.W_OK, common.mustCall((err) => { if (hasWriteAccessForReadonlyFile) { assert.ifError(err); } else { - assert.notEqual(err, null, 'error should exist'); + assert.notStrictEqual(err, null, 'error should exist'); assert.strictEqual(err.path, readOnlyFile); } })); |