Use assert_eq for liballoc test
This commit is contained in:
parent
219380d840
commit
b54a917b14
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue