Skip to content

Commit 5fd16ca

Browse files
committed
format error message with newlines
1 parent 003c28f commit 5fd16ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/harness/fourslash.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2355,7 +2355,7 @@ namespace FourSlash {
23552355
private applyCodeActions(actions: ts.CodeAction[], index?: number): void {
23562356
if (index === undefined) {
23572357
if (!(actions && actions.length === 1)) {
2358-
this.raiseError(`Should find exactly one codefix, but ${actions ? actions.length : "none"} found. ${actions ? actions.map(a => `"${a.description}"`).join(", ") : "" }`);
2358+
this.raiseError(`Should find exactly one codefix, but ${actions ? actions.length : "none"} found. ${actions ? actions.map(a => `\r\n "${a.description}"`) : "" }`);
23592359
}
23602360
index = 0;
23612361
}

0 commit comments

Comments
 (0)