Ensure size of Error type is correctly tracked
This commit is contained in:
parent
498b0a4530
commit
f9645e3d55
1 changed files with 1 additions and 1 deletions
|
@ -1472,7 +1472,7 @@ mod tests {
|
||||||
#[test]
|
#[test]
|
||||||
fn check_size() {
|
fn check_size() {
|
||||||
assert_eq!(64, std::mem::size_of::<Value>());
|
assert_eq!(64, std::mem::size_of::<Value>());
|
||||||
assert_eq!(88, std::mem::size_of::<Result<Value, Error>>());
|
assert_eq!(112, std::mem::size_of::<Result<Value, Error>>());
|
||||||
assert_eq!(48, std::mem::size_of::<crate::sql::number::Number>());
|
assert_eq!(48, std::mem::size_of::<crate::sql::number::Number>());
|
||||||
assert_eq!(24, std::mem::size_of::<crate::sql::strand::Strand>());
|
assert_eq!(24, std::mem::size_of::<crate::sql::strand::Strand>());
|
||||||
assert_eq!(16, std::mem::size_of::<crate::sql::duration::Duration>());
|
assert_eq!(16, std::mem::size_of::<crate::sql::duration::Duration>());
|
||||||
|
|
Loading…
Reference in a new issue