summaryrefslogtreecommitdiff
path: root/js/test/Ice/info/Client.js
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2015-07-21 00:15:51 +0200
committerJose <jose@zeroc.com>2015-07-21 00:15:51 +0200
commite537d6c0e62bdbf5b272d6542b3345eb972e9612 (patch)
tree1464b940cb6f2c19e537fd741bf2f31c877163db /js/test/Ice/info/Client.js
parentFix JavaScript test for non connectable endpoints (diff)
downloadice-e537d6c0e62bdbf5b272d6542b3345eb972e9612.tar.bz2
ice-e537d6c0e62bdbf5b272d6542b3345eb972e9612.tar.xz
ice-e537d6c0e62bdbf5b272d6542b3345eb972e9612.zip
JSHint minor fixes
Minor fixes to issues reported by JSHint
Diffstat (limited to 'js/test/Ice/info/Client.js')
-rw-r--r--js/test/Ice/info/Client.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/test/Ice/info/Client.js b/js/test/Ice/info/Client.js
index cd866ca535b..0ad3b57f9ae 100644
--- a/js/test/Ice/info/Client.js
+++ b/js/test/Ice/info/Client.js
@@ -107,7 +107,7 @@
info = connection.getInfo();
test(!info.incoming);
- test(info.adapterName.length == 0);
+ test(info.adapterName.length === 0);
if(connection.type() != "ws" && connection.type() != "wss")
{
test(info.localPort > 0);
@@ -152,7 +152,7 @@
test(ctx.get("ws.Connection") == "Upgrade");
test(ctx.get("ws.Sec-WebSocket-Protocol") == "ice.zeroc.com");
test(ctx.get("ws.Sec-WebSocket-Version") == "13");
- test(ctx.get("ws.Sec-WebSocket-Key") != null);
+ test(ctx.get("ws.Sec-WebSocket-Key") !== null);
}
}
);