summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--tests/testament/tester.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testament/tester.nim b/tests/testament/tester.nim
index c0b088124..ad687d3ad 100644
--- a/tests/testament/tester.nim
+++ b/tests/testament/tester.nim
@@ -410,7 +410,7 @@ proc main() =
     of "print", "verbose": optPrintResults = true
     of "failing": optFailing = true
     of "pedantic": optPedantic = true
-    of "targets": targets = parseTargets(p.val)
+    of "targets": targets = parseTargets(p.val.string)
     else: quit Usage
     p.next()
   if p.kind != cmdArgument: quit Usage