summary refs log tree commit diff stats
path: root/tests/misc/thallo.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/thallo.nim')
-rw-r--r--tests/misc/thallo.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/misc/thallo.nim b/tests/misc/thallo.nim
index 6f9d49121..7172a6b46 100644
--- a/tests/misc/thallo.nim
+++ b/tests/misc/thallo.nim
@@ -11,7 +11,7 @@ type
   TMyEnum = enum
     meA, meB, meC, meD
 
-when isMainModule:
+when true:
   {.hint: "this is the main file".}
 
 proc fac[T](x: T): T =
@@ -84,5 +84,5 @@ for i in 2..6:
   for j in countdown(i+4, 2):
     echo(fac(i * j))
 
-when isMainModule:
+when true:
   {.hint: "this is the main file".}