summaryrefslogtreecommitdiff
path: root/test/parallel/test-console.js
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2016-12-30 10:09:13 -0500
committercjihrig <cjihrig@gmail.com>2017-01-06 14:08:47 -0500
commite5499b32cfcde144ee41500356d45d990cd9df0e (patch)
tree5241a5db3f80fee2d6a8e2b255f49157d5733d56 /test/parallel/test-console.js
parent75ebd19d8dff5c65f94f7cf0a847b63d952ca864 (diff)
downloadandroid-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-console.js')
-rw-r--r--test/parallel/test-console.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-console.js b/test/parallel/test-console.js
index ee7170bd91..0eb7924cb6 100644
--- a/test/parallel/test-console.js
+++ b/test/parallel/test-console.js
@@ -115,7 +115,7 @@ assert.strictEqual("{ foo: 'bar', inspect: [Function: inspect] }\n",
strings.shift());
assert.strictEqual("{ foo: 'bar', inspect: [Function: inspect] }\n",
strings.shift());
-assert.notEqual(-1, strings.shift().indexOf('foo: [Object]'));
+assert.ok(strings.shift().includes('foo: [Object]'));
assert.strictEqual(-1, strings.shift().indexOf('baz'));
assert.ok(/^label: \d+\.\d{3}ms$/.test(strings.shift().trim()));
assert.ok(/^__proto__: \d+\.\d{3}ms$/.test(strings.shift().trim()));