summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/macros/tvarargsuntyped.nim3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/macros/tvarargsuntyped.nim b/tests/macros/tvarargsuntyped.nim
index f0fcff662..5a06adcca 100644
--- a/tests/macros/tvarargsuntyped.nim
+++ b/tests/macros/tvarargsuntyped.nim
@@ -105,5 +105,4 @@ template t1(s: int, v: varargs[typed]) =
   echo s
   t2(s, v)
 
-when isMainModule:
-  t1(10, "hello", 18.0)
+t1(10, "hello", 18.0)