disable BTree min_max test in Miri for now

This commit is contained in:
Ralf Jung
2020-07-02 10:25:04 +02:00
parent 9491f18c5d
commit dca9310ceb
+1
View File
@@ -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);