Skip to content

Commit

Permalink
Rollup merge of rust-lang#73957 - RalfJung:btree-min-max, r=shepmaster
Browse files Browse the repository at this point in the history
disable BTree min_max test in Miri for now

Until rust-lang#73915 is fixed, better skip this test in Miri so that we can test the others at least.
  • Loading branch information
Manishearth authored Jul 2, 2020
2 parents 441dd5a + dca9310 commit 5702b27
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/liballoc/tests/btree/map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ fn test_iter_mixed() {
}

#[test]
#[cfg_attr(miri, ignore)] // FIXME: fails in Miri <https://github.com/rust-lang/rust/issues/73915>
fn test_iter_min_max() {
let mut a = BTreeMap::new();
assert_eq!(a.iter().min(), None);
Expand Down

0 comments on commit 5702b27

Please sign in to comment.