tester: better error message comparisons
This commit is contained in:
parent
a08fb61da9
commit
686a9ae66a
1 changed files with 1 additions and 1 deletions
|
|
@ -67,8 +67,8 @@ var targets = {low(TTarget)..high(TTarget)}
|
||||||
proc normalizeMsg(s: string): string =
|
proc normalizeMsg(s: string): string =
|
||||||
result = newStringOfCap(s.len+1)
|
result = newStringOfCap(s.len+1)
|
||||||
for x in splitLines(s):
|
for x in splitLines(s):
|
||||||
|
if result.len > 0: result.add '\L'
|
||||||
result.add x.strip
|
result.add x.strip
|
||||||
result.add '\L'
|
|
||||||
|
|
||||||
proc callCompiler(cmdTemplate, filename, options: string,
|
proc callCompiler(cmdTemplate, filename, options: string,
|
||||||
target: TTarget): TSpec =
|
target: TTarget): TSpec =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue