Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
node: Fix test on Windows
Lorenz Leutgeb committed 8 months ago
commit fca96e697f128837b00bf950ad8d556aba29a3ad
parent 19a262d3d67ea92a37ceaf18e79a783d8e65ccdd
1 file changed +2 -2
modified 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()