diff tests/systemd.rs @ 28:cfef4593e207

Run `cargo fmt`.
author Paul Fisher <paul@pfish.zone>
date Sat, 19 Apr 2025 01:33:50 -0400
parents bc76507dd878
children
line wrap: on
line diff
--- a/tests/systemd.rs	Fri Feb 28 23:15:59 2025 +0100
+++ b/tests/systemd.rs	Sat Apr 19 01:33:50 2025 -0400
@@ -1,8 +1,8 @@
 // This integration test requires presence of systemd-socket-activate
 
+use std::ffi::OsStr;
 use std::io;
-use std::ffi::OsStr;
-use std::process::{Command, Child};
+use std::process::{Child, Command};
 
 mod comm;
 
@@ -23,7 +23,10 @@
 }
 
 #[test]
-#[cfg_attr(not(all(target_os = "linux", feature = "enable_systemd")), should_panic)]
+#[cfg_attr(
+    not(all(target_os = "linux", feature = "enable_systemd")),
+    should_panic
+)]
 fn main() {
     comm::main::<Test>();
 }