Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelzw committed Oct 26, 2024
1 parent 9cf85a4 commit 2a1010a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/rattler_conda_types/src/repo_data/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@ mod test {
let result = PackageRecord::validate(packages);
assert!(result.is_err());
assert!(result.err().unwrap().to_string().contains(
"package 'foobar' has dependency 'bors <2.0', which is not in the environment"
"package 'foobar=2.0=bla_1' has dependency 'bors <2.0', which is not in the environment"
));
}

Expand All @@ -669,7 +669,7 @@ mod test {
let result = PackageRecord::validate(vec![package_constrains, package_bors_2]);
assert!(result.is_err());
assert!(result.err().unwrap().to_string().contains(
"package 'foo' has constraint 'bors <2.0', which is not satisfied by 'bors=2.1=bla_1' in the environment"
"package 'foo=3.0.2=py36h1af98f8_3' has constraint 'bors <2.0', which is not satisfied by 'bors=2.1=bla_1' in the environment"
));
}
}

0 comments on commit 2a1010a

Please sign in to comment.