Skip to content

Commit

Permalink
time to investigate the bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Eh2406 committed Sep 6, 2018
1 parent e6078b4 commit a875816
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/testsuite/resolve.rs
Original file line number Diff line number Diff line change
Expand Up @@ -965,7 +965,7 @@ fn resolving_with_constrained_sibling_transitive_dep_effects() {

#[test]
fn dont_yet_know_the_problem() {
// WIP minimized bug found in:
// minimized bug found in:
// https://github.com/rust-lang/cargo/commit/003c29b0c71e5ea28fbe8e72c148c755c9f3f8d9
let input = vec![
pkg!(("a", "1.0.0")),
Expand Down Expand Up @@ -1004,8 +1004,7 @@ fn dont_yet_know_the_problem() {
);
assert_eq!(input.len(), new_reg.len() + 1);
// it should still build
// TODO: uncomment when minimized: assert!(resolve(&pkg_id("root"), vec![dep("g")], &new_reg).is_ok());
assert!(resolve(&pkg_id("root"), vec![dep("g")], &new_reg).is_err());
assert!(resolve(&pkg_id("root"), vec![dep("g")], &new_reg).is_ok());
}

#[test]
Expand Down

0 comments on commit a875816

Please sign in to comment.