From b809562c7cc38e391c1e3240d8ca77ba035c3f75 Mon Sep 17 00:00:00 2001 From: Timothee Cour Date: Sat, 28 Nov 2020 00:09:31 -0800 Subject: 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 --- testament/specs.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testament/specs.nim') 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": -- cgit 1.4.1-2-gfad0