Skip to content

Commit

Permalink
Assert panic
Browse files Browse the repository at this point in the history
  • Loading branch information
sumanth-manchala committed Jan 10, 2024
1 parent f46a790 commit 41c5bbb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/solver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -456,9 +456,9 @@ fn test_resolve_with_nonexisting() {
assert_eq!(solvable.inner().0, 3);
}

// More on this: https://github.com/prefix-dev/rip/issues/75
#[test]
#[traced_test]
#[should_panic] // TODO: Should be fixed, https://github.com/prefix-dev/rip/issues/75

Check warning on line 461 in tests/solver.rs

View workflow job for this annotation

GitHub Actions / Format and Lint

Diff in /home/runner/work/resolvo/resolvo/tests/solver.rs
fn test_resolve_with_nested_deps() {
let provider = BundleBoxProvider::from_packages(&[
("apache-airflow", 3, vec!["opentelemetry-api 2..4", "opentelemetry-exporter-otlp"]),
Expand All @@ -467,9 +467,7 @@ fn test_resolve_with_nested_deps() {
("opentelemetry-api", 3, vec!["opentelemetry-sdk"]),
("opentelemetry-api", 2, vec![]),
("opentelemetry-api", 1, vec![]),

Check warning on line 469 in tests/solver.rs

View workflow job for this annotation

GitHub Actions / Format and Lint

Diff in /home/runner/work/resolvo/resolvo/tests/solver.rs
("opentelemetry-exporter-otlp", 2, vec!["opentelemetry-grpc"]),
("opentelemetry-exporter-otlp", 1, vec!["opentelemetry-grpc"]),
("opentelemetry-grpc", 2, vec!["opentelemetry-api 2..4", "opentelemetry-sdk"]),
("opentelemetry-grpc", 1, vec!["opentelemetry-api 1"]),

]);
Expand Down

0 comments on commit 41c5bbb

Please sign in to comment.