From 675539c7ab503e5a5bdef1d17678afb7b8dc352b Mon Sep 17 00:00:00 2001 From: Armaan Salam <38160090+ArmaanAS@users.noreply.github.com> Date: Mon, 26 Aug 2024 10:56:04 +0100 Subject: fix(bench): Fix table column alignments and NO_COLOR=1 (#25190) Fix table layout for `deno bench` command with and without color (`NO_COLOR=1`). Fixes issue in #25156 --- tests/testdata/bench/finally_timeout.out | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'tests/testdata/bench/finally_timeout.out') diff --git a/tests/testdata/bench/finally_timeout.out b/tests/testdata/bench/finally_timeout.out index 96bec017d..331b20538 100644 --- a/tests/testdata/bench/finally_timeout.out +++ b/tests/testdata/bench/finally_timeout.out @@ -1,11 +1,12 @@ Check [WILDCARD]/bench/finally_timeout.ts -cpu: [WILDCARD] -runtime: deno [WILDCARD] ([WILDCARD]) + CPU | [WILDCARD] +Runtime | Deno [WILDCARD] ([WILDCARD]) [WILDCARD]/bench/finally_timeout.ts -benchmark time (avg) iter/s (min … max) p75 p99 p995 ---------------------------------------------------------------- ----------------------------- -error error: Error: fail + +benchmark time/iter (avg) iter/s (min … max) p75 p99 p995 +----------- ----------------------------- --------------------- -------------------------- +error error: Error: fail [WILDCARD] -success [WILDCARD] [WILDCARD]/iter[WILDCARD]([WILDCARD] … [WILDCARD]) [WILDCARD] +success [WILDCARD] [WILDCARD] [WILDCARD] ([WILDCARD] … [WILDCARD]) [WILDCARD] error: Bench failed -- cgit v1.2.3