diff options
author | Ian Bull <irbull@gmail.com> | 2024-09-04 00:19:55 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-04 09:19:55 +0200 |
commit | 939c23f9fe332797f4b2c8a80359fd36a3e7c105 (patch) | |
tree | c20c31bf6b95290e1b4bcaa83d087bd13a0eb902 /tests/specs | |
parent | 072bf5d379b691c4decd3c167a51801bad8ca2f6 (diff) |
refactor(cli/js): align error messages (#25406)
Aligns the error messages in the cli/js folder to be in-line with the
Deno style guide.
Diffstat (limited to 'tests/specs')
-rw-r--r-- | tests/specs/bench/bench_explicit_start_end/explicit_start_and_end.out | 6 | ||||
-rw-r--r-- | tests/specs/test/exit_code/main.out | 2 | ||||
-rw-r--r-- | tests/specs/test/exit_code2/main.out | 2 | ||||
-rw-r--r-- | tests/specs/test/exit_code3/main.out | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/tests/specs/bench/bench_explicit_start_end/explicit_start_and_end.out b/tests/specs/bench/bench_explicit_start_end/explicit_start_and_end.out index 4dc2b6179..ae1b05847 100644 --- a/tests/specs/bench/bench_explicit_start_end/explicit_start_and_end.out +++ b/tests/specs/bench/bench_explicit_start_end/explicit_start_and_end.out @@ -8,17 +8,17 @@ benchmark time/iter (avg) iter/s (min … max) p75 start and end [WILDCARD] [WILDCARD] [WILDCARD] ([WILDCARD] … [WILDCARD]) [WILDCARD] start only [WILDCARD] [WILDCARD] [WILDCARD] ([WILDCARD] … [WILDCARD]) [WILDCARD] end only [WILDCARD] [WILDCARD] [WILDCARD] ([WILDCARD] … [WILDCARD]) [WILDCARD] -double start error: TypeError: BenchContext::start() has already been invoked. +double start error: TypeError: BenchContext::start() has already been invoked t.start(); ^ at BenchContext.start ([WILDCARD]) at [WILDCARD]/explicit_start_and_end.ts:[WILDCARD] -double end error: TypeError: BenchContext::end() has already been invoked. +double end error: TypeError: BenchContext::end() has already been invoked t.end(); ^ at BenchContext.end ([WILDCARD]) at [WILDCARD]/explicit_start_and_end.ts:[WILDCARD] -captured error: TypeError: The benchmark which this context belongs to is not being executed. +captured error: TypeError: The benchmark which this context belongs to is not being executed captured!.start(); ^ at BenchContext.start ([WILDCARD]) diff --git a/tests/specs/test/exit_code/main.out b/tests/specs/test/exit_code/main.out index 2562695a0..d5fe6c475 100644 --- a/tests/specs/test/exit_code/main.out +++ b/tests/specs/test/exit_code/main.out @@ -4,7 +4,7 @@ Deno.exitCode ... FAILED ([WILDCARD]) ERRORS Deno.exitCode => ./main.js:1:6 -error: Error: Test case finished with exit code set to 42. +error: Error: Test case finished with exit code set to 42 at exitSanitizer (ext:cli/40_test.js:113:15) at async outerWrapped (ext:cli/40_test.js:134:14) diff --git a/tests/specs/test/exit_code2/main.out b/tests/specs/test/exit_code2/main.out index adc9cb577..494384652 100644 --- a/tests/specs/test/exit_code2/main.out +++ b/tests/specs/test/exit_code2/main.out @@ -11,7 +11,7 @@ error: Error at [WILDCARD]/exit_code2/main.js:3:9 success => ./main.js:6:6 -error: Error: Test case finished with exit code set to 5. +error: Error: Test case finished with exit code set to 5 at exitSanitizer (ext:cli/40_test.js:113:15) at async outerWrapped (ext:cli/40_test.js:134:14) diff --git a/tests/specs/test/exit_code3/main.out b/tests/specs/test/exit_code3/main.out index 6e333bf42..a461db2f6 100644 --- a/tests/specs/test/exit_code3/main.out +++ b/tests/specs/test/exit_code3/main.out @@ -5,7 +5,7 @@ success ... ok ([WILDCARD]) ERRORS Deno.exitCode => ./main.js:1:6 -error: Error: Test case finished with exit code set to 42. +error: Error: Test case finished with exit code set to 42 at exitSanitizer (ext:cli/40_test.js:113:15) at async outerWrapped (ext:cli/40_test.js:134:14) |