mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-01-20 02:32:46 +08:00
Fix rust formatting for BSD signal tests
This commit is contained in:
parent
6a3ece6766
commit
cb368f70ee
|
@ -617,5 +617,8 @@ add_test!("test_signal_parse", || {
|
||||||
/// rust's native OS targeting for those.
|
/// rust's native OS targeting for those.
|
||||||
fn bsd_signals() {
|
fn bsd_signals() {
|
||||||
assert_eq!(Signal::parse(L!("SIGEMT")), Some(Signal::new(libc::SIGEMT)));
|
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))
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user