summaryrefslogtreecommitdiff
path: root/test/parallel/test-tls-set-ciphers.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-tls-set-ciphers.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-tls-set-ciphers.js')
-rw-r--r--test/parallel/test-tls-set-ciphers.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-tls-set-ciphers.js b/test/parallel/test-tls-set-ciphers.js
index e61f8448be..ef08c56460 100644
--- a/test/parallel/test-tls-set-ciphers.js
+++ b/test/parallel/test-tls-set-ciphers.js
@@ -26,7 +26,7 @@ const reply = 'I AM THE WALRUS'; // something recognizable
let response = '';
process.on('exit', function() {
- assert.notEqual(response.indexOf(reply), -1);
+ assert.ok(response.includes(reply));
});
const server = tls.createServer(options, common.mustCall(function(conn) {