mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-16 00:00:37 +08:00
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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user