diff options
author | Jose <jose@zeroc.com> | 2015-03-10 10:23:44 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2015-03-10 10:23:44 +0100 |
commit | fd8bc78f8dea97b6eda7f185ea8d7fb42cfbd429 (patch) | |
tree | 466a048c0f0f61996b63e3e7a5e3c87f7e163f59 /js/test/Ice/defaultValue/Client.js | |
parent | ICE-6342 forgot to fix demo script (diff) | |
download | ice-fd8bc78f8dea97b6eda7f185ea8d7fb42cfbd429.tar.bz2 ice-fd8bc78f8dea97b6eda7f185ea8d7fb42cfbd429.tar.xz ice-fd8bc78f8dea97b6eda7f185ea8d7fb42cfbd429.zip |
Minor JS style fixes
Diffstat (limited to 'js/test/Ice/defaultValue/Client.js')
-rw-r--r-- | js/test/Ice/defaultValue/Client.js | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/js/test/Ice/defaultValue/Client.js b/js/test/Ice/defaultValue/Client.js index 9721990229a..ef3b47fb1a2 100644 --- a/js/test/Ice/defaultValue/Client.js +++ b/js/test/Ice/defaultValue/Client.js @@ -166,33 +166,33 @@ out.write("testing default constructor... "); var v2 = new Test.StructNoDefaults(); - test(v2.bo == false); - test(v2.b == 0); - test(v2.s == 0); - test(v2.i == 0); - test(v2.l == 0); - test(v2.f == 0.0); - test(v2.d == 0.0); - test(v2.str == ""); + test(v2.bo === false); + test(v2.b === 0); + test(v2.s === 0); + test(v2.i === 0); + test(v2.l === 0); + test(v2.f === 0.0); + test(v2.d === 0.0); + test(v2.str === ""); test(v2.c1 == Test.Color.red); - test(v2.bs == null); - test(v2.is == null); - test(v2.st != null && v2.st instanceof Test.InnerStruct); - test(v2.dict == null); + test(v2.bs === null); + test(v2.is === null); + test(v2.st !== null && v2.st instanceof Test.InnerStruct); + test(v2.dict === null); var e = new Test.ExceptionNoDefaults(); - test(e.str == ""); + test(e.str === ""); test(e.c1 == Test.Color.red); - test(e.bs == null); - test(e.st != null && e.st instanceof Test.InnerStruct); - test(e.dict == null); + test(e.bs === null); + test(e.st !== null && e.st instanceof Test.InnerStruct); + test(e.dict === null); var cl = new Test.ClassNoDefaults(); - test(cl.str == ""); + test(cl.str === ""); test(cl.c1 == Test.Color.red); - test(cl.bs == null); - test(cl.st != null && cl.st instanceof Test.InnerStruct); - test(cl.dict == null); + test(cl.bs === null); + test(cl.st !== null && cl.st instanceof Test.InnerStruct); + test(cl.dict === null); out.writeLine("ok"); } |