Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelzw committed Mar 5, 2025
1 parent 5964509 commit d896ab4
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions crates/rattler_index/tests/test_index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,15 @@ async fn test_index() {
)
.unwrap();

let res = index_fs(temp_dir.path(), Some(Platform::Win64), true, 100, None).await;
let res = index_fs(
temp_dir.path(),
Some(Platform::Win64),
None,
true,
100,
None,
)
.await;
assert!(res.is_ok());

let repodata_path = temp_dir.path().join(subdir_path).join("repodata.json");
Expand Down Expand Up @@ -98,7 +106,7 @@ async fn test_index_empty_directory_creates_noarch_repodata() {
let noarch_path = temp_dir.path().join("noarch");
let repodata_path = noarch_path.join("repodata.json");

let res = index_fs(temp_dir.path(), None, true, 100, None).await;
let res = index_fs(temp_dir.path(), None, None, true, 100, None).await;

assert!(res.is_ok());
assert!(noarch_path.is_dir());
Expand Down

0 comments on commit d896ab4

Please sign in to comment.