summary refs log tree commit diff stats
path: root/tests/js
diff options
context:
space:
mode:
authorMiran <narimiran@disroot.org>2020-01-16 14:14:03 +0100
committerAndreas Rumpf <rumpf_a@web.de>2020-01-16 14:14:03 +0100
commit352232e62dea88191339af3aaa943cb93fb4db02 (patch)
tree725293f5344928422115a1cf358c8f3b2cf0d1b5 /tests/js
parent54bfd69a27db6015e4eb7ed0b57b01b7924be2f6 (diff)
downloadNim-352232e62dea88191339af3aaa943cb93fb4db02.tar.gz
style fix: change 'JS' to 'js' to make it consistent (#13168)
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