Skip to content

Commit

Permalink
chore: remove struct size assertion (#4885)
Browse files Browse the repository at this point in the history
chore/remove-struct-size-assertion: Remove unit tests for parquet_meta_size function in cache_size.rs
  • Loading branch information
v0y4g3r authored Oct 28, 2024
1 parent 1008af5 commit eab9e3a
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/mito2/src/cache/cache_size.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
}

0 comments on commit eab9e3a

Please sign in to comment.