summaryrefslogtreecommitdiff
path: root/js/test
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2019-06-24 17:08:11 +0200
committerJose <jose@zeroc.com>2019-06-24 17:08:33 +0200
commit55553d29f7f3bb9c33ed46720858406912b8046b (patch)
treed5c4dbbc24fd56cfde22707682bae451b3ac1bf6 /js/test
parentFix Ruby build failure (diff)
downloadice-55553d29f7f3bb9c33ed46720858406912b8046b.tar.bz2
ice-55553d29f7f3bb9c33ed46720858406912b8046b.tar.xz
ice-55553d29f7f3bb9c33ed46720858406912b8046b.zip
Fix checkedCast with facet and MATLAB - Close #394
Diffstat (limited to 'js/test')
-rw-r--r--js/test/Ice/proxy/Client.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/test/Ice/proxy/Client.js b/js/test/Ice/proxy/Client.js
index e96681dc8e5..ea395d33685 100644
--- a/js/test/Ice/proxy/Client.js
+++ b/js/test/Ice/proxy/Client.js
@@ -722,6 +722,8 @@
test(cl.equals(base));
test(derived.equals(base));
test(cl.equals(derived));
+ let f = await Test.MyDerivedClassPrx.checkedCast(cl, "facet");
+ test(f === null);
out.writeLine("ok");
out.write("testing checked cast with context... ");