Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelzw committed Nov 22, 2024
1 parent 64680ca commit 73f81c9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/integration_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ use tempfile::tempdir;

struct Options {
prefix: PathBuf,
_output_dir: tempfile::TempDir,
package: Vec<PathBuf>,
_output_dir: tempfile::TempDir,
}

#[fixture]
Expand Down Expand Up @@ -42,8 +42,8 @@ fn options(#[default("simple-example")] project: String) -> Options {
assert!(package.exists());
Options {
prefix,
package: vec![package],
_output_dir: output_dir,
package: vec![package.into()],
}
}

Expand Down Expand Up @@ -97,7 +97,8 @@ async fn test_install_twice(options: Options) {
#[case("already-installed".to_string())]
#[tokio::test]
async fn test_already_installed(
#[case] _project: String, #[with(_project.clone())] options: Options,
#[case] _project: String,
#[with(_project.clone())] options: Options,
) {
let result = pixi_inject::pixi_inject(options.prefix.clone(), options.package).await;
assert!(result.is_err());
Expand Down

0 comments on commit 73f81c9

Please sign in to comment.