From 939c23f9fe332797f4b2c8a80359fd36a3e7c105 Mon Sep 17 00:00:00 2001 From: Ian Bull Date: Wed, 4 Sep 2024 00:19:55 -0700 Subject: 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. --- .../specs/bench/bench_explicit_start_end/explicit_start_and_end.out | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/specs/bench') 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]) -- cgit v1.2.3