Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
node/tests/e2e: use assert_eq! in test
✗ CI failure Fintan Halpenny committed 3 months ago
commit 84320919e2cfb2abda9e7c97dbbd2234f8f7f5c6
parent 7862e108b656dfdac3f44fe6c27ebefd1e679d80
1 failed (1 total) View logs
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));
}