Skip to content

Commit 6574840

Browse files
committed
fixes
Signed-off-by: Robert Kruszewski <github@robertk.io>
1 parent 098b4b5 commit 6574840

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

  • vortex-btrblocks/src/compressor/integer

vortex-btrblocks/src/compressor/integer/mod.rs

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1090,9 +1090,10 @@ mod scheme_selection_tests {
10901090
use vortex_sequence::Sequence;
10911091
use vortex_sparse::Sparse;
10921092

1093-
use crate::{BtrBlocksCompressor, IntCode};
1093+
use crate::BtrBlocksCompressor;
10941094
use crate::CompressorContext;
10951095
use crate::CompressorExt;
1096+
use crate::IntCode;
10961097

10971098
#[test]
10981099
fn test_constant_compressed() -> VortexResult<()> {
@@ -1210,9 +1211,12 @@ mod scheme_selection_tests {
12101211
}
12111212
let array = PrimitiveArray::new(Buffer::copy_from(&values), Validity::NonNullable);
12121213
let btr = BtrBlocksCompressor::default();
1213-
let compressed =
1214-
btr.integer_compressor()
1215-
.compress(&btr, &array, CompressorContext::default(), &[IntCode::RunEnd])?;
1214+
let compressed = btr.integer_compressor().compress(
1215+
&btr,
1216+
&array,
1217+
CompressorContext::default(),
1218+
&[IntCode::RunEnd],
1219+
)?;
12161220
assert!(compressed.is::<RLE>());
12171221
Ok(())
12181222
}

0 commit comments

Comments
 (0)