fix: create config dir in file-lock override test

This commit is contained in:
Julian Chang 2026-10-01 00:47:15 -04:00
parent b2a84490ed
commit cd122e877e
No known key found for this signature in database

View file

@ -493,6 +493,7 @@ mod tests {
#[tokio::test]
async fn a_file_dropped_from_the_lock_is_deleted_only_when_untouched() {
let root = polyio::testing::ScratchDir::new("file-lock");
polyio::create_dir_all(root.join("config")).await.unwrap();
polyio::write(root.join("config/kept.json"), b"mine")
.await
.unwrap();