diff options
author | Jacek Sieka <arnetheduck@gmail.com> | 2016-04-06 00:01:57 +0800 |
---|---|---|
committer | Jacek Sieka <arnetheduck@gmail.com> | 2016-04-06 00:01:57 +0800 |
commit | 796f4e917c9164c456d8152fb7d57d566f6148d2 (patch) | |
tree | a19a1e7a8b517610cdbe6087ecc50dec1561a5ea /tests | |
parent | 25abb7c2b671d3ea6d28aa871cd3409a0dae8795 (diff) | |
download | Nim-796f4e917c9164c456d8152fb7d57d566f6148d2.tar.gz |
untaint command line option for parsing
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testament/tester.nim | 2 |
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 |