From 91b5084047c65ecbd1fa8d5297830be925d59556 Mon Sep 17 00:00:00 2001 From: Eric <5089238+emizzle@users.noreply.github.com> Date: Fri, 21 Mar 2025 12:18:26 +1100 Subject: [PATCH] add new line to stdout/stderr logs when logging lines --- tests/integration/testmanager.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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