Skip to content

Commit 97ecb11

Browse files
committed
Show output of panic found when updating fourslash tests
1 parent f66df9c commit 97ecb11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/fourslash/_scripts/updateFailing.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ function main() {
2121
const panicRegex = /^panic/m;
2222
if (panicRegex.test(testOutput)) {
2323
fs.writeFileSync(failingTestsPath, oldFailingTests, "utf-8");
24-
throw new Error("Unrecovered panic detected in tests");
24+
throw new Error("Unrecovered panic detected in tests\n" + testOutput);
2525
}
2626
const failRegex = /--- FAIL: ([\S]+)/gm;
2727
const failingTests: string[] = [];

0 commit comments

Comments
 (0)