Skip to content

Commit

Permalink
Use specific negative assertion for hashglobe hash set
Browse files Browse the repository at this point in the history
  • Loading branch information
CYBAI committed Jan 25, 2018
1 parent d4d32c9 commit 73bc7a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/hashglobe/src/hash_set.rs
Expand Up @@ -1450,7 +1450,7 @@ mod test_set {
s2.insert(1);
s2.insert(2);

assert!(s1 != s2);
assert_ne!(s1, s2);

s2.insert(3);

Expand Down Expand Up @@ -1496,7 +1496,7 @@ mod test_set {
let mut d = s.drain();
for (i, x) in d.by_ref().take(50).enumerate() {
last_i = i;
assert!(x != 0);
assert_ne!(x, 0);
}
assert_eq!(last_i, 49);
}
Expand Down

0 comments on commit 73bc7a8

Please sign in to comment.