mirror of
https://github.com/servo/servo.git
synced 2025-07-17 20:33:40 +01:00
Use specific negative assertion for hashglobe hash set
This commit is contained in:
parent
d4d32c9962
commit
73bc7a81e9
1 changed files with 2 additions and 2 deletions
|
@ -1450,7 +1450,7 @@ mod test_set {
|
|||
s2.insert(1);
|
||||
s2.insert(2);
|
||||
|
||||
assert!(s1 != s2);
|
||||
assert_ne!(s1, s2);
|
||||
|
||||
s2.insert(3);
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue