diff options
author | Simon Hafner <hafnersimon@gmail.com> | 2013-09-26 15:05:00 -0500 |
---|---|---|
committer | Simon Hafner <hafnersimon@gmail.com> | 2013-09-26 15:05:00 -0500 |
commit | becd55dced7546ee4ba12cec5d849f76878059be (patch) | |
tree | ce6ab869ce60d2a594390d1db96d00db4f399f3a /tests/js | |
parent | e1c2aa2ddd1e26243acdc1e46525eed8a6d9d81c (diff) | |
download | Nim-becd55dced7546ee4ba12cec5d849f76878059be.tar.gz |
moved eqproc to the correct magic position
also added mEqCString to evalOps so the test runs
Diffstat (limited to 'tests/js')
-rw-r--r-- | tests/js/testmagic.nim | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/js/testmagic.nim b/tests/js/testmagic.nim new file mode 100644 index 000000000..c58496dfd --- /dev/null +++ b/tests/js/testmagic.nim @@ -0,0 +1,10 @@ +discard """ + cmd: "nimrod js --hints:on -r $# $#" + output: '''true''' +""" + +# This file tests some magic + +const foo = cstring("foo") +const bar = cstring("foo") +echo(foo == bar) |