summary refs log tree commit diff stats
path: root/tests/js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/js')
-rw-r--r--tests/js/test2.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/js/test2.nim b/tests/js/test2.nim
index 9ecdbb35c..fa857ccc5 100644
--- a/tests/js/test2.nim
+++ b/tests/js/test2.nim
@@ -21,7 +21,7 @@ proc foo() =
 foo()
 
 # #376
-when not defined(JS):
+when not defined(js):
   proc foo(val: float): string = "no js " & $val
 else:
   proc foo(val: float): string = "js " & $val