Fix rust formatting for BSD signal tests

This commit is contained in:
Mahmoud Al-Qudsi
2023-05-02 11:51:56 -05:00
parent 6a3ece6766
commit cb368f70ee

View File

@@ -617,5 +617,8 @@ fn from(value: Signal) -> Self {
/// rust's native OS targeting for those.
fn bsd_signals() {
assert_eq!(Signal::parse(L!("SIGEMT")), Some(Signal::new(libc::SIGEMT)));
assert_eq!(Signal::parse(L!("SIGINFO")), Some(Signal::new(libc::SIGINFO)));
assert_eq!(
Signal::parse(L!("SIGINFO")),
Some(Signal::new(libc::SIGINFO))
);
}