Use assert_eq for liballoc test
This commit is contained in:
parent
219380d840
commit
b54a917b14
@ -16,7 +16,7 @@ impl Drop for DropCounter<'_> {
|
||||
|
||||
#[test]
|
||||
fn test_small_vec_struct() {
|
||||
assert!(size_of::<Vec<u8>>() == size_of::<usize>() * 3);
|
||||
assert_eq!(size_of::<Vec<u8>>(), size_of::<usize>() * 3);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
Loading…
Reference in New Issue
Block a user