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 19:59:23 +02:00
parent 19a262d3d6
commit fca96e697f
1 changed files with 2 additions and 2 deletions

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()