From fca96e697f128837b00bf950ad8d556aba29a3ad Mon Sep 17 00:00:00 2001 From: Lorenz Leutgeb Date: Sun, 24 Aug 2025 19:59:23 +0200 Subject: [PATCH] node: Fix test on Windows Small oversight in previous commit, as mutability of course also needs to change in tests. This only surfaced after building again on Windows. --- crates/radicle-node/src/control.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/radicle-node/src/control.rs b/crates/radicle-node/src/control.rs index c2dfcffb..ecfb0a4d 100644 --- a/crates/radicle-node/src/control.rs +++ b/crates/radicle-node/src/control.rs @@ -308,13 +308,13 @@ mod tests { }); for rid in &rids { - let stream = loop { + let mut stream = loop { if let Ok(stream) = Stream::connect(&socket) { break stream; } }; writeln!( - &stream, + &mut stream, "{}", json::to_string(&Command::AnnounceRefs { rid: rid.to_owned()