Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelzw committed Nov 5, 2024
1 parent 5b6ed5a commit e0c7e35
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions tests/integration_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,11 +166,9 @@ async fn test_inject_failure(options: Options) {
let pack_result = pixi_pack::pack(pack_options).await;

assert!(pack_result.is_err());
assert!(pack_result
.err()
.unwrap()
.to_string()
.contains("package my-webserver-broken has dependency 'fastapi >=0.112'"));
assert!(
pack_result.err().unwrap().to_string() == "package 'my-webserver-broken=0.1.0=pyh4616a5c_0' has dependency 'fastapi >=0.112', which is not in the environment"
);
}

#[rstest]
Expand Down

0 comments on commit e0c7e35

Please sign in to comment.