From 256dcb058ac2dd2a935076922265278c56264050 Mon Sep 17 00:00:00 2001 From: Adilson Schmitt Junior Date: Mon, 2 May 2022 21:43:03 +0200 Subject: fix(test/bench): accept file protocol module specifier CLI args (#14429) --- cli/tests/testdata/bench/file_protocol.out | 8 ++++++++ cli/tests/testdata/bench/file_protocol.ts | 1 + 2 files changed, 9 insertions(+) create mode 100644 cli/tests/testdata/bench/file_protocol.out create mode 100644 cli/tests/testdata/bench/file_protocol.ts (limited to 'cli/tests/testdata/bench') diff --git a/cli/tests/testdata/bench/file_protocol.out b/cli/tests/testdata/bench/file_protocol.out new file mode 100644 index 000000000..5a384e1fa --- /dev/null +++ b/cli/tests/testdata/bench/file_protocol.out @@ -0,0 +1,8 @@ +Check file://[WILDCARD]/bench/file_protocol.ts +cpu: [WILDCARD] +runtime: deno [WILDCARD] ([WILDCARD]) + +[WILDCARD]/bench/file_protocol.ts +benchmark time (avg) (min … max) p75 p99 p995 +------------------------------------------------- ----------------------------- +bench0 [WILDCARD] [WILDCARD]/iter[WILDCARD]([WILDCARD] … [WILDCARD]) [WILDCARD] diff --git a/cli/tests/testdata/bench/file_protocol.ts b/cli/tests/testdata/bench/file_protocol.ts new file mode 100644 index 000000000..06a07bb38 --- /dev/null +++ b/cli/tests/testdata/bench/file_protocol.ts @@ -0,0 +1 @@ +Deno.bench("bench0", () => {}); -- cgit v1.2.3