test: migrate cache_lock to snapbox

This commit is contained in:
heisen-li 2024-06-18 18:59:47 +08:00
parent 413844bc13
commit 2e1f7b47c7

View File

@ -1,7 +1,5 @@
//! Tests for `CacheLock`.
#![allow(deprecated)]
use crate::config::GlobalContextBuilder;
use cargo::util::cache_lock::{CacheLockMode, CacheLocker};
use cargo_test_support::paths::{self, CargoPathExt};