File tree Expand file tree Collapse file tree 2 files changed +14
-13
lines changed Expand file tree Collapse file tree 2 files changed +14
-13
lines changed Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " sd-notify"
3
- version = " 0.4.3 "
3
+ version = " 0.4.4 "
4
4
edition = " 2021"
5
5
description = " Lightweight crate for systemd service state notifications"
6
6
readme = " README.md"
Original file line number Diff line number Diff line change @@ -527,11 +527,14 @@ mod tests {
527
527
assert_eq ! ( s. recv_string( ) , "READY=1\n " ) ;
528
528
assert ! ( env:: var_os( "NOTIFY_SOCKET" ) . is_some( ) ) ;
529
529
530
- super :: notify ( true , & [
531
- NotifyState :: Status ( "Reticulating splines" ) ,
532
- NotifyState :: Watchdog ,
533
- NotifyState :: Custom ( "X_WORKS=1" ) ,
534
- ] )
530
+ super :: notify (
531
+ true ,
532
+ & [
533
+ NotifyState :: Status ( "Reticulating splines" ) ,
534
+ NotifyState :: Watchdog ,
535
+ NotifyState :: Custom ( "X_WORKS=1" ) ,
536
+ ] ,
537
+ )
535
538
. unwrap ( ) ;
536
539
assert_eq ! (
537
540
s. recv_string( ) ,
@@ -601,13 +604,11 @@ mod tests {
601
604
) ;
602
605
603
606
// Raise an error if LISTEN_FDNAMES has a different number of entries as fds
604
- assert ! (
605
- super :: zip_fds_with_names(
606
- 3 as RawFd ..6 as RawFd ,
607
- Some ( "omelette:baguette" . to_string( ) )
608
- )
609
- . is_err( )
610
- ) ;
607
+ assert ! ( super :: zip_fds_with_names(
608
+ 3 as RawFd ..6 as RawFd ,
609
+ Some ( "omelette:baguette" . to_string( ) )
610
+ )
611
+ . is_err( ) ) ;
611
612
}
612
613
613
614
#[ test]
You can’t perform that action at this time.
0 commit comments