summaryrefslogtreecommitdiff
path: root/js/test
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2016-04-01 11:41:45 +0200
committerJose <jose@zeroc.com>2016-04-01 11:41:45 +0200
commite2c1561c24875b5b4e3db2701a6f421d54b49b7b (patch)
treeef8da103e8729405c12c94d73437f7e9592946c1 /js/test
parentWSTransceiver updates: (diff)
downloadice-e2c1561c24875b5b4e3db2701a6f421d54b49b7b.tar.bz2
ice-e2c1561c24875b5b4e3db2701a6f421d54b49b7b.tar.xz
ice-e2c1561c24875b5b4e3db2701a6f421d54b49b7b.zip
JS style fixes
Diffstat (limited to 'js/test')
-rw-r--r--js/test/Ice/binding/Client.js2
-rw-r--r--js/test/Ice/promise/Client.js6
2 files changed, 3 insertions, 5 deletions
diff --git a/js/test/Ice/binding/Client.js b/js/test/Ice/binding/Client.js
index c44e07a3a75..b58c697837f 100644
--- a/js/test/Ice/binding/Client.js
+++ b/js/test/Ice/binding/Client.js
@@ -1174,7 +1174,7 @@
exports.__test__ = function(out, id)
{
out.writeLine("Test not supported with Safari web workers.");
- }
+ };
}
else
{
diff --git a/js/test/Ice/promise/Client.js b/js/test/Ice/promise/Client.js
index f64c1a454bf..03bb00238ca 100644
--- a/js/test/Ice/promise/Client.js
+++ b/js/test/Ice/promise/Client.js
@@ -843,8 +843,7 @@
test(i == 10);
test(Date.now() - start >= 450);
test(Date.now() - start <= 900);
- }
- )
+ });
}
).then(
function()
@@ -863,8 +862,7 @@
test(Date.now() - start <= 900);
out.writeLine("ok");
promise.succeed();
- }
- )
+ });
}
).exception(
function(ex)