summary refs log tree commit diff stats
path: root/tests/manyloc/argument_parser/argument_parser.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manyloc/argument_parser/argument_parser.nim')
-rw-r--r--tests/manyloc/argument_parser/argument_parser.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manyloc/argument_parser/argument_parser.nim b/tests/manyloc/argument_parser/argument_parser.nim
index d42842f93..9a37ef8c9 100644
--- a/tests/manyloc/argument_parser/argument_parser.nim
+++ b/tests/manyloc/argument_parser/argument_parser.nim
@@ -486,7 +486,7 @@ proc echo_help*(expected: seq[Tparameter_specification] = @[],
     echo line
 
 
-when isMainModule:
+when true:
   # Simply tests code embedded in docs.
   let
     parsed_param1 = new_parsed_parameter(PK_FLOAT, 3.41)