Use assert_eq for liballoc test

This commit is contained in:
Ivan Tham 2020-06-05 16:56:51 +08:00
parent 219380d840
commit b54a917b14

View File

@ -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]