diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2020-11-28 00:09:31 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-28 09:09:31 +0100 |
commit | b809562c7cc38e391c1e3240d8ca77ba035c3f75 (patch) | |
tree | 5f5d6869dd774cb09d2956fdef47310d64a6c983 /testament/specs.nim | |
parent | 157e7820f1bf120d0015f3b564ccc45c42ab03f4 (diff) | |
download | Nim-b809562c7cc38e391c1e3240d8ca77ba035c3f75.tar.gz |
make megatest consistent with unjoined tests wrt newlines, honor newlines in output spec (#16151)
* fix megatest newlines * still allow missing trailing newline for now but in a more strict way than before
Diffstat (limited to 'testament/specs.nim')
-rw-r--r-- | testament/specs.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testament/specs.nim b/testament/specs.nim index eaae598bb..37fe12275 100644 --- a/testament/specs.nim +++ b/testament/specs.nim @@ -280,7 +280,7 @@ proc parseSpec*(filename: string): TSpec = of "output": if result.outputCheck != ocSubstr: result.outputCheck = ocEqual - result.output = strip(e.value) + result.output = e.value of "input": result.input = e.value of "outputsub": |