blob: 8ce73b96748f22f4029a486c1530c4cd7eb49666 [file] [log] [blame]
extern crate rayon;
use rayon::prelude::*;
#[test]
#[should_panic(expected = "boom")]
fn iter_panic() {
(0i32..2_000_000).into_par_iter().for_each(|i| {
if i == 1_350_000 {
panic!("boom")
}
});
}