summaryrefslogtreecommitdiff
path: root/test/pummel/test-net-timeout.js
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2016-08-16 21:11:22 -0700
committerRich Trott <rtrott@gmail.com>2016-08-18 21:05:18 -0700
commit8ff3d61d8ba90fde01827643db3d87ee97f502e6 (patch)
treeb989fc6e8e876804fc709deb0774c500f304a7c8 /test/pummel/test-net-timeout.js
parenta0971b7da0c5440590d982500c4daa8a7ee8b04c (diff)
downloadandroid-node-v8-8ff3d61d8ba90fde01827643db3d87ee97f502e6.tar.gz
android-node-v8-8ff3d61d8ba90fde01827643db3d87ee97f502e6.tar.bz2
android-node-v8-8ff3d61d8ba90fde01827643db3d87ee97f502e6.zip
test: favor strict equality in pummel net tests
Favor strict equality checks over loose equality checks in pummel/test-net-* tests. PR-URL: https://github.com/nodejs/node/pull/8135 Reviewed-By: Michaƫl Zasso <targos@protonmail.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'test/pummel/test-net-timeout.js')
-rw-r--r--test/pummel/test-net-timeout.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pummel/test-net-timeout.js b/test/pummel/test-net-timeout.js
index 25544a6d5f..415523763e 100644
--- a/test/pummel/test-net-timeout.js
+++ b/test/pummel/test-net-timeout.js
@@ -52,7 +52,7 @@ echo_server.listen(common.PORT, function() {
client.write('hello\r\n');
}, 500);
- if (exchanges == 5) {
+ if (exchanges === 5) {
console.log('wait for timeout - should come in ' + timeout + ' ms');
starttime = new Date();
console.dir(starttime);