From 8a37461bb6accf0f7a70d707db4be199a86c8fa2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Samson?= Date: Mon, 16 Jun 2025 12:39:07 +0200 Subject: [PATCH] fix test output splitting --- src/testController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/testController.ts b/src/testController.ts index fa5866e..fddbc19 100644 --- a/src/testController.ts +++ b/src/testController.ts @@ -394,7 +394,7 @@ export function configureTestController( ) { // output is a raw terminal, we need to wrap lines with CRLF // note replace("\n", "\r\n") is not working correctly - for (const line of output.split("\n")) { + for (const line of output.split(/\r?\n/)) { run.appendOutput(line, undefined, test); run.appendOutput("\r\n", undefined, test); }