summary refs log tree commit diff stats
path: root/tests/js/testmagic.nim
diff options
context:
space:
mode:
authorSimon Hafner <hafnersimon@gmail.com>2013-09-26 15:10:54 -0500
committerSimon Hafner <hafnersimon@gmail.com>2013-09-26 15:10:54 -0500
commitab31ad2704da49734349a2d6b9638a21cb0af31b (patch)
treeb986567c4624c01963ae7e70de23b52682cc3265 /tests/js/testmagic.nim
parentbecd55dced7546ee4ba12cec5d849f76878059be (diff)
downloadNim-ab31ad2704da49734349a2d6b9638a21cb0af31b.tar.gz
don't mess with semfold, use vars instead
Diffstat (limited to 'tests/js/testmagic.nim')
-rw-r--r--tests/js/testmagic.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/js/testmagic.nim b/tests/js/testmagic.nim
index c58496dfd..2c02d24be 100644
--- a/tests/js/testmagic.nim
+++ b/tests/js/testmagic.nim
@@ -5,6 +5,6 @@ discard """
 
 # This file tests some magic
 
-const foo = cstring("foo")
-const bar = cstring("foo")
+var foo = cstring("foo")
+var bar = cstring("foo")
 echo(foo == bar)