diff --git a/crates/xy/tests/common/mod.rs b/crates/xy/tests/common/mod.rs index 665e56a..bd6ee86 100644 --- a/crates/xy/tests/common/mod.rs +++ b/crates/xy/tests/common/mod.rs @@ -36,7 +36,7 @@ impl Harness { pub fn write_server(&self, name: &str, command: &str, port: u16, restart_policy: &str) { let body = format!( - "command \"{command}\"\nport {port}\nrestart {{ policy \"{restart_policy}\" backoff-initial \"10ms\" backoff-max \"50ms\" max-retries-per-minute 3 }}\nstop {{ grace \"500ms\" }}\n" + "command \"{command}\"\nport {port}\nrestart {{\n policy \"{restart_policy}\"\n backoff-initial \"10ms\"\n backoff-max \"50ms\"\n max-retries-per-minute 3\n}}\nstop {{ grace \"500ms\" }}\n" ); std::fs::write(self.config_dir.join(format!("{name}.kdl")), body).unwrap(); }