replace assert! with assert_eq!

This commit is contained in:
Justus K 2020-12-13 10:21:24 +01:00
parent 0f30b7dd87
commit d75618e7a2
No known key found for this signature in database
GPG Key ID: 8C62FE98A62FC462

View File

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