Fix tests on latest Rust release
This commit is contained in:
parent
6b20bbd5f7
commit
b8d485fe32
1 changed files with 3 additions and 3 deletions
|
@ -1649,8 +1649,8 @@ mod tests {
|
|||
#[test]
|
||||
fn check_size() {
|
||||
assert_eq!(64, std::mem::size_of::<Value>());
|
||||
assert_eq!(112, std::mem::size_of::<Result<Value, Error>>());
|
||||
assert_eq!(48, std::mem::size_of::<crate::sql::number::Number>());
|
||||
assert_eq!(104, std::mem::size_of::<Result<Value, Error>>());
|
||||
assert_eq!(40, std::mem::size_of::<crate::sql::number::Number>());
|
||||
assert_eq!(24, std::mem::size_of::<crate::sql::strand::Strand>());
|
||||
assert_eq!(16, std::mem::size_of::<crate::sql::duration::Duration>());
|
||||
assert_eq!(12, std::mem::size_of::<crate::sql::datetime::Datetime>());
|
||||
|
@ -1661,7 +1661,7 @@ mod tests {
|
|||
assert_eq!(24, std::mem::size_of::<crate::sql::idiom::Idiom>());
|
||||
assert_eq!(24, std::mem::size_of::<crate::sql::table::Table>());
|
||||
assert_eq!(56, std::mem::size_of::<crate::sql::thing::Thing>());
|
||||
assert_eq!(48, std::mem::size_of::<crate::sql::model::Model>());
|
||||
assert_eq!(40, std::mem::size_of::<crate::sql::model::Model>());
|
||||
assert_eq!(24, std::mem::size_of::<crate::sql::regex::Regex>());
|
||||
assert_eq!(8, std::mem::size_of::<Box<crate::sql::range::Range>>());
|
||||
assert_eq!(8, std::mem::size_of::<Box<crate::sql::edges::Edges>>());
|
||||
|
|
Loading…
Reference in a new issue