Skip to content

Commit d70d3f9

Browse files
Update test/unit/error.spec.ts
Co-Authored-By: ark120202 <ark120202@gmail.com>
1 parent a0e3f14 commit d70d3f9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/unit/error.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ test("return from nested finally", () => {
289289
test("throw and catch custom error object", () => {
290290
const code = `
291291
try {
292-
throw {x: "Hello error object!"};
292+
throw { x: "Hello error object!" };
293293
} catch (error) {
294294
return error.x;
295295
}

0 commit comments

Comments
 (0)