mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-13 06:43:52 +00:00
Adds comments to output, can help debug failure logs.
This commit is contained in:
@@ -134,6 +134,7 @@ proc doScenario(script: string, output: PStream, mode: TRunMode): bool =
|
||||
if line.strip.len == 0: continue
|
||||
|
||||
if line.startsWith("#"):
|
||||
output.writeln line
|
||||
continue
|
||||
elif line.startsWith(">"):
|
||||
s.doCommand(line.substr(1).strip)
|
||||
|
||||
Reference in New Issue
Block a user