blob: b0f32b2d10f5d689c612baa04a941ebaf9780ea3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#![warn(rust_2018_idioms)]
#![cfg(feature = "full")]
#![cfg(unix)]
use tokio::signal::unix::{signal, SignalKind};
#[test]
#[should_panic]
fn no_runtime_panics_creating_signals() {
let _ = signal(SignalKind::hangup());
}
|