Radish alpha
h
rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5
Radicle Heartwood Protocol & Stack
Radicle
Git
node/tests/e2e: use assert_eq! in test
Fintan Halpenny committed 2 months ago
commit 84320919e2cfb2abda9e7c97dbbd2234f8f7f5c6
parent 7862e10
1 file changed +1 -1
modified crates/radicle-node/src/tests/e2e.rs
@@ -454,7 +454,7 @@ fn test_fetch_followed_remotes() {
        .collect::<Result<HashSet<_>, _>>()
        .unwrap();

-
    assert!(bob_remotes.len() == followed.len() + 1);
+
    assert_eq!(bob_remotes.len(), followed.len() + 1);
    assert!(bob_remotes.is_superset(&followed));
    assert!(bob_remotes.contains(&alice.id));
}