Skip to content

Commit 89ff376

Browse files
committed
fixes
Signed-off-by: Robert Kruszewski <github@robertk.io>
1 parent 83b8e22 commit 89ff376

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
@@ -1087,9 +1087,10 @@ mod scheme_selection_tests {
10871087
use vortex_sequence::Sequence;
10881088
use vortex_sparse::Sparse;
10891089

1090-
use crate::{BtrBlocksCompressor, IntCode};
1090+
use crate::BtrBlocksCompressor;
10911091
use crate::CompressorContext;
10921092
use crate::CompressorExt;
1093+
use crate::IntCode;
10931094

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

0 commit comments

Comments
 (0)