Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
REVIEW: fix broken test
Fintan Halpenny committed 7 months ago
commit a849a832284d62ad4d131114f259039c79a804a1
parent 3f47d9f4b2d8312d858476face45f3ca4d563ada
1 file changed +1 -2
modified crates/radicle-node/src/control.rs
@@ -291,7 +291,6 @@ fn fetch<W: Write, H: Handle<Error = runtime::HandleError>>(

#[cfg(test)]
mod tests {
-
    use std::collections::HashSet;
    use std::io::prelude::*;
    use std::thread;

@@ -328,7 +327,7 @@ mod tests {
                "{}",
                json::to_string(&Command::AnnounceRefs {
                    rid: rid.to_owned(),
-
                    ns: HashSet::new(),
+
                    ns: [nid].into_iter().collect(),
                })
                .unwrap()
            )