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.
This commit is contained in:
Lorenz Leutgeb
2025-08-24 20:03:39 +02:00
parent 19a262d3d6
commit fca96e697f
+2 -2
View File
@@ -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()