Skip to content

Commit cb4459a

Browse files
committed
Prepare for new release
1 parent 8eb2c5c commit cb4459a

File tree

2 files changed

+14
-13
lines changed

2 files changed

+14
-13
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "sd-notify"
3-
version = "0.4.3"
3+
version = "0.4.4"
44
edition = "2021"
55
description = "Lightweight crate for systemd service state notifications"
66
readme = "README.md"

src/lib.rs

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -527,11 +527,14 @@ mod tests {
527527
assert_eq!(s.recv_string(), "READY=1\n");
528528
assert!(env::var_os("NOTIFY_SOCKET").is_some());
529529

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+
)
535538
.unwrap();
536539
assert_eq!(
537540
s.recv_string(),
@@ -601,13 +604,11 @@ mod tests {
601604
);
602605

603606
// 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());
611612
}
612613

613614
#[test]

0 commit comments

Comments
 (0)