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:
Fintan Halpenny 2026-02-16 16:07:56 +00:00
parent 7862e108b6
commit 84320919e2
1 changed files with 1 additions and 1 deletions

View File

@ -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));
} }