diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2018-08-13 12:51:31 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-08-13 12:51:31 +0200 |
commit | 9f31096870103e93b23e17c4a68aa7dcdcc7889e (patch) | |
tree | dec84983af52db50e194969ae9d32042b12cb424 /tests/js/tjsffi.nim | |
parent | 81645deb871d1ff869c0c7b289d8a851ee3b4214 (diff) | |
download | Nim-9f31096870103e93b23e17c4a68aa7dcdcc7889e.tar.gz |
make JS tests green
Diffstat (limited to 'tests/js/tjsffi.nim')
-rw-r--r-- | tests/js/tjsffi.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/js/tjsffi.nim b/tests/js/tjsffi.nim index 325ab6366..156ca89e3 100644 --- a/tests/js/tjsffi.nim +++ b/tests/js/tjsffi.nim @@ -64,7 +64,7 @@ block: proc test(): bool = let obj = newJsObject() obj.`?!$` = proc(x, y, z: int, t: cstring): cstring = t & $(x + y + z) - obj.`?!$`(1, 2, 3, "Result is: ").to(cstring) == "Result is: 6" + obj.`?!$`(1, 2, 3, "Result is: ").to(cstring) == cstring"Result is: 6" echo test() # Test JsObject []() |