diff --git a/tests/testament/tester.nim b/tests/testament/tester.nim index c0b0881249..ad687d3add 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