diff --git a/src/harness/fourslash.ts b/src/harness/fourslash.ts index 9688c565f57..7b5f53298ca 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 => `"${a.description}"`).join(", ") : "" }`); + this.raiseError(`Should find exactly one codefix, but ${actions ? actions.length : "none"} found. ${actions ? actions.map(a => `\r\n "${a.description}"`) : "" }`); } index = 0; }