Rollup merge of #73017 - pickfire:liballoc-assert, r=Xanewok
Use assert_eq for liballoc test
This commit is contained in:
commit
10d9e3c902
@ -16,7 +16,7 @@ fn drop(&mut self) {
|
||||
|
||||
#[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