diff options
Diffstat (limited to 'tests/js/tvarargs.nim')
-rw-r--r-- | tests/js/tvarargs.nim | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/js/tvarargs.nim b/tests/js/tvarargs.nim index 2ddb421f8..8d57af58d 100644 --- a/tests/js/tvarargs.nim +++ b/tests/js/tvarargs.nim @@ -1,3 +1,6 @@ +discard """ + output: "Hello, world" +""" # bug #3584 @@ -8,5 +11,5 @@ type var console* {.importc.}: Console -when isMainModule: +when true: console.log "Hello, world" |