mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-29 05:50:31 +08:00
node/tests/e2e: use assert_eq! in test
The use of `assert_eq!` will highlight the differences in the two values when it fails.
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user