Skip to content

Commit 2269a91

Browse files
authored
fix test output splitting (#487)
1 parent 65261dd commit 2269a91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/testController.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ export function configureTestController(
409409
) {
410410
// output is a raw terminal, we need to wrap lines with CRLF
411411
// note replace("\n", "\r\n") is not working correctly
412-
for (const line of output.split("\n")) {
412+
for (const line of output.split(/\r?\n/)) {
413413
run.appendOutput(line, undefined, test);
414414
run.appendOutput("\r\n", undefined, test);
415415
}

0 commit comments

Comments
 (0)