From 6be389ce291317346b2085231813cccd0e501daf Mon Sep 17 00:00:00 2001 From: Asher Gomez Date: Wed, 14 Feb 2024 03:22:49 +1100 Subject: chore: move `test_util/std` to `tests/util/std` (#22402) Note: tests are not the only part of the codebase that uses `std`. Other parts, like `tools/`, do too. So, it could be argued that this is a little misleading. Either way, I'm doing this as discussed with @mmastrac. --- cli/bench/main.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'cli') diff --git a/cli/bench/main.rs b/cli/bench/main.rs index 4f5946414..d58a6fdb6 100644 --- a/cli/bench/main.rs +++ b/cli/bench/main.rs @@ -123,7 +123,7 @@ const EXEC_TIME_BENCHMARKS: &[(&str, &[&str], Option)] = &[ "check", "--reload", "--unstable", - "test_util/std/http/file_server_test.ts", + "tests/util/std/http/file_server_test.ts", ], None, ), @@ -134,7 +134,7 @@ const EXEC_TIME_BENCHMARKS: &[(&str, &[&str], Option)] = &[ "--reload", "--no-check", "--unstable", - "test_util/std/http/file_server_test.ts", + "tests/util/std/http/file_server_test.ts", ], None, ), @@ -143,7 +143,7 @@ const EXEC_TIME_BENCHMARKS: &[(&str, &[&str], Option)] = &[ &[ "bundle", "--unstable", - "test_util/std/http/file_server_test.ts", + "tests/util/std/http/file_server_test.ts", ], None, ), @@ -153,7 +153,7 @@ const EXEC_TIME_BENCHMARKS: &[(&str, &[&str], Option)] = &[ "bundle", "--no-check", "--unstable", - "test_util/std/http/file_server_test.ts", + "tests/util/std/http/file_server_test.ts", ], None, ), @@ -306,7 +306,7 @@ fn get_binary_sizes(target_dir: &Path) -> Result> { } const BUNDLES: &[(&str, &str)] = &[ - ("file_server", "./test_util/std/http/file_server.ts"), + ("file_server", "./tests/util/std/http/file_server.ts"), ("welcome", "./tests/testdata/welcome.ts"), ]; fn bundle_benchmark(deno_exe: &Path) -> Result> { -- cgit v1.2.3