diff options
Diffstat (limited to 'tests/integration/run_tests.rs')
-rw-r--r-- | tests/integration/run_tests.rs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/integration/run_tests.rs b/tests/integration/run_tests.rs index f7aaa9daf..55841b901 100644 --- a/tests/integration/run_tests.rs +++ b/tests/integration/run_tests.rs @@ -29,6 +29,8 @@ use util::PathRef; use util::TestContext; use util::TestContextBuilder; +const CODE_CACHE_DB_FILE_NAME: &str = "v8_code_cache_v2"; + itest!(stdout_write_all { args: "run --quiet run/stdout_write_all.ts", output: "run/stdout_write_all.out", @@ -5066,7 +5068,7 @@ fn code_cache_test() { assert!(!output.stderr().contains("V8 code cache hit")); // Check that the code cache database exists. - let code_cache_path = deno_dir.path().join("v8_code_cache_v1"); + let code_cache_path = deno_dir.path().join(CODE_CACHE_DB_FILE_NAME); assert!(code_cache_path.exists()); } @@ -5157,7 +5159,7 @@ fn code_cache_npm_test() { assert!(!output.stderr().contains("V8 code cache hit")); // Check that the code cache database exists. - let code_cache_path = deno_dir.path().join("v8_code_cache_v1"); + let code_cache_path = deno_dir.path().join(CODE_CACHE_DB_FILE_NAME); assert!(code_cache_path.exists()); } @@ -5217,7 +5219,7 @@ fn code_cache_npm_with_require_test() { assert!(!output.stderr().contains("V8 code cache hit")); // Check that the code cache database exists. - let code_cache_path = deno_dir.path().join("v8_code_cache_v1"); + let code_cache_path = deno_dir.path().join(CODE_CACHE_DB_FILE_NAME); assert!(code_cache_path.exists()); } |