Skip to content

Commit 7141a2a

Browse files
committed
Better error message in fourslash
1 parent 11cea6a commit 7141a2a

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
@@ -2035,7 +2035,7 @@ namespace FourSlash {
20352035
const codeFix: ts.CodeAction = this.getCodeFix(fileName, codeFixIdentifier);
20362036

20372037
if (!codeFix) {
2038-
this.raiseError("Should find exactly one codefix.");
2038+
this.raiseError("Should find exactly one codefix, but none found.");
20392039
}
20402040

20412041
const fileChange = ts.find(codeFix.changes, change => change.fileName === fileName);

0 commit comments

Comments
 (0)