mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 22:18:23 +03:00
Rollup merge of #73957 - RalfJung:btree-min-max, r=shepmaster
disable BTree min_max test in Miri for now Until https://github.com/rust-lang/rust/issues/73915 is fixed, better skip this test in Miri so that we can test the others at least.
This commit is contained in:
@@ -310,6 +310,7 @@ fn test<T>(size: usize, mut iter: T)
|
||||
}
|
||||
|
||||
#[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);
|
||||
|
||||
Reference in New Issue
Block a user