diff --git a/datafusion/common/src/scalar.rs b/datafusion/common/src/scalar.rs index be06f7b3ac2b..6c60bc373fa1 100644 --- a/datafusion/common/src/scalar.rs +++ b/datafusion/common/src/scalar.rs @@ -2575,12 +2575,7 @@ mod tests { // The alignment requirements differ across architectures and // thus the size of the enum appears to as as well - let expected = match cfg!(target_arch = "aarch64") { - true => 64, - false => 48, - }; - - assert_eq!(std::mem::size_of::(), expected); + assert_eq!(std::mem::size_of::(), 48); } #[test]