From 796f4e917c9164c456d8152fb7d57d566f6148d2 Mon Sep 17 00:00:00 2001 From: Jacek Sieka Date: Wed, 6 Apr 2016 00:01:57 +0800 Subject: [PATCH] untaint command line option for parsing --- tests/testament/tester.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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