fix(rust): drop the stray spaces in the running-server handoff line #34

Merged
whitlocktech merged 2 commits from fix/rust-handoff-spaces into main 2026-09-26 15:41:25 +00:00
Showing only changes of commit 9d73367e63 - Show all commits

View File

@@ -265,6 +265,16 @@ mod tests {
running.contains("doctor --game rust --server-id alpha"),
"{running}"
);
// The whole first line, so a wrapped source line cannot leave its indent in the sentence
// again (installer#34: "confirms it connected.").
assert_eq!(
running.lines().find(|l| !l.is_empty()),
Some(
"Rust server \"alpha\" is set up. The plugin loads now; \
`doctor --game rust --server-id alpha` confirms it connected."
),
"{running}"
);
}
#[test]