Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake-Shadle committed Sep 29, 2023
1 parent c45b2c3 commit 11c7d1d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/local.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,15 @@ fn builds_local_registry() {
versions: Vec<smol_str::SmolStr>,
}

let lock = tame_index::utils::flock::FileLock::unlocked();

for pkg in &md.packages {
if pkg.name == "tame-index" {
continue;
}
let ip = krates.entry(pkg.name.clone()).or_insert_with(|| {
let ik = sparse
.cached_krate(pkg.name.as_str().try_into().unwrap())
.cached_krate(pkg.name.as_str().try_into().unwrap(), &lock)
.unwrap()
.unwrap();

Expand Down

0 comments on commit 11c7d1d

Please sign in to comment.