Skip to content

Commit

Permalink
pass test name to test_config to construct db name
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed Aug 13, 2024
1 parent 47baaa6 commit 03dbab5
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions turbopack/crates/turbo-tasks-backend/tests/test_config.trs
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
|_name, initial | {
let path = std::path::PathBuf::from(concat!(
|name, initial| {
let path = std::path::PathBuf::from(format!(concat!(
env!("OUT_DIR"),
"/.cache/",
module_path!(),
));
"/.cache/{}",
), name));
if initial {
let _ = std::fs::remove_dir_all(&path);
}
Expand Down

0 comments on commit 03dbab5

Please sign in to comment.