replace assert! with assert_eq!
This commit is contained in:
parent
0f30b7dd87
commit
d75618e7a2
@ -1733,5 +1733,5 @@ fn test_zero_sized_push() {
|
||||
fn test_from_zero_sized_vec() {
|
||||
let v = vec![(); 100];
|
||||
let queue = VecDeque::from(v);
|
||||
assert!(queue.len(), 100);
|
||||
assert_eq!(queue.len(), 100);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user