From eab9e3a48dd4d5a3bbb6ec4223eac516ac5a9a4c Mon Sep 17 00:00:00 2001 From: "Lei, HUANG" <6406592+v0y4g3r@users.noreply.github.com> Date: Mon, 28 Oct 2024 01:50:10 -0700 Subject: [PATCH] chore: remove struct size assertion (#4885) chore/remove-struct-size-assertion: Remove unit tests for parquet_meta_size function in cache_size.rs --- src/mito2/src/cache/cache_size.rs | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/mito2/src/cache/cache_size.rs b/src/mito2/src/cache/cache_size.rs index 3d79bcbe5801..a60b203bd758 100644 --- a/src/mito2/src/cache/cache_size.rs +++ b/src/mito2/src/cache/cache_size.rs @@ -127,16 +127,3 @@ fn parquet_offset_index_heap_size(offset_index: &ParquetOffsetIndex) -> usize { }) .sum() } - -#[cfg(test)] -mod tests { - use super::*; - use crate::cache::test_util::parquet_meta; - - #[test] - fn test_parquet_meta_size() { - let metadata = parquet_meta(); - - assert_eq!(956, parquet_meta_size(&metadata)); - } -}