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