diff --git a/tests/integration/testmanager.nim b/tests/integration/testmanager.nim index 764a25de..a61d8fba 100644 --- a/tests/integration/testmanager.nim +++ b/tests/integration/testmanager.nim @@ -469,7 +469,7 @@ proc captureOutput( while (let line = await stream.readLine(0, "\n"); line != ""): try: output.add line - filePath.appendFile(line.stripAnsi) + filePath.appendFile(line & "\n".stripAnsi) await sleepAsync(1.nanos) except IOError as e: warn "Failed to write test stdout and/or stderr to file", error = e.msg