diff --git a/tests/specs/fmt_errors/__test__.jsonc b/tests/specs/fmt_errors/__test__.jsonc index 05edd48cd1..74c0d3621d 100644 --- a/tests/specs/fmt_errors/__test__.jsonc +++ b/tests/specs/fmt_errors/__test__.jsonc @@ -1,4 +1,4 @@ { - "args": "run --allow-read main.mts", - "output": "3" -} \ No newline at end of file + "args": "run --allow-read main.mts", + "output": "3" +} diff --git a/tests/specs/fmt_errors/a.cts b/tests/specs/fmt_errors/a.cts index 5a92c93ea6..d5d6bfefcc 100644 --- a/tests/specs/fmt_errors/a.cts +++ b/tests/specs/fmt_errors/a.cts @@ -1,4 +1,4 @@ export function add(num1, num2) { - const result = num1 + num2; - console.log(result); + const result = num1 + num2; + console.log(result); } diff --git a/tests/specs/fmt_errors/main.mts b/tests/specs/fmt_errors/main.mts index 771bacf997..50da134249 100644 --- a/tests/specs/fmt_errors/main.mts +++ b/tests/specs/fmt_errors/main.mts @@ -1,3 +1,3 @@ import * as a from "./a.cts"; -console.log(a.add(1,2)); \ No newline at end of file +console.log(a.add(1, 2));