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:
parent
19a262d3d6
commit
fca96e697f
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in New Issue