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:
parent
7862e108b6
commit
84320919e2
|
|
@ -454,7 +454,7 @@ fn test_fetch_followed_remotes() {
|
||||||
.collect::<Result<HashSet<_>, _>>()
|
.collect::<Result<HashSet<_>, _>>()
|
||||||
.unwrap();
|
.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.is_superset(&followed));
|
||||||
assert!(bob_remotes.contains(&alice.id));
|
assert!(bob_remotes.contains(&alice.id));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue