summary refs log tree commit diff stats
path: root/tests/js/tvarargs.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/js/tvarargs.nim')
-rw-r--r--tests/js/tvarargs.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/js/tvarargs.nim b/tests/js/tvarargs.nim
index b8c532767..8d57af58d 100644
--- a/tests/js/tvarargs.nim
+++ b/tests/js/tvarargs.nim
@@ -11,5 +11,5 @@ type
 
 var console* {.importc.}: Console
 
-when isMainModule:
+when true:
   console.log "Hello, world"