mirror of
https://gitee.com/openharmony/third_party_rust_syn
synced 2024-11-23 07:50:04 +00:00
Update test suite to nightly-2022-09-09
This commit is contained in:
parent
6e89df9f7d
commit
fa1a855ea0
@ -5,17 +5,17 @@ use syn::{Expr, Item, Lit, Pat, Type};
|
||||
|
||||
#[test]
|
||||
fn test_expr_size() {
|
||||
assert_eq!(mem::size_of::<Expr>(), 280);
|
||||
assert_eq!(mem::size_of::<Expr>(), 264);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_item_size() {
|
||||
assert_eq!(mem::size_of::<Item>(), 344);
|
||||
assert_eq!(mem::size_of::<Item>(), 320);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_type_size() {
|
||||
assert_eq!(mem::size_of::<Type>(), 304);
|
||||
assert_eq!(mem::size_of::<Type>(), 280);
|
||||
}
|
||||
|
||||
#[test]
|
||||
@ -25,5 +25,5 @@ fn test_pat_size() {
|
||||
|
||||
#[test]
|
||||
fn test_lit_size() {
|
||||
assert_eq!(mem::size_of::<Lit>(), 40);
|
||||
assert_eq!(mem::size_of::<Lit>(), 32);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user