From 0694a38728c81d45c344c2e88538ada3f8a0c0a2 Mon Sep 17 00:00:00 2001 From: Mine Starks Date: Tue, 11 Jul 2017 16:05:10 -0700 Subject: [PATCH] Use platform agnostic newline --- src/harness/fourslash.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/harness/fourslash.ts b/src/harness/fourslash.ts index 7b5f53298ca..e5dc3b0023a 100644 --- a/src/harness/fourslash.ts +++ b/src/harness/fourslash.ts @@ -2355,7 +2355,7 @@ namespace FourSlash { private applyCodeActions(actions: ts.CodeAction[], index?: number): void { if (index === undefined) { if (!(actions && actions.length === 1)) { - this.raiseError(`Should find exactly one codefix, but ${actions ? actions.length : "none"} found. ${actions ? actions.map(a => `\r\n "${a.description}"`) : "" }`); + this.raiseError(`Should find exactly one codefix, but ${actions ? actions.length : "none"} found. ${actions ? actions.map(a => `${Harness.IO.newLine()} "${a.description}"`) : "" }`); } index = 0; }