Files
fparkan/vendor/rayon-core/tests/simple_panic.rs
2024-01-08 01:21:28 +04:00

8 lines
140 B
Rust

use rayon_core::join;
#[test]
#[should_panic(expected = "should panic")]
fn simple_panic() {
join(|| {}, || panic!("should panic"));
}