We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1acccc7 commit bb025cfCopy full SHA for bb025cf
arrow-buffer/src/builder/null.rs
@@ -487,7 +487,8 @@ mod tests {
487
// Test small extend (less than 64 bits)
488
let mut builder = NullBufferBuilder::new(0);
489
builder.extend([true, false, true, true].iter().copied());
490
- assert_eq!(builder.as_slice().unwrap(), &[0b1011_u8]);
+ // bits: 0=true, 1=false, 2=true, 3=true -> 0b1101 = 13
491
+ assert_eq!(builder.as_slice().unwrap(), &[0b1101_u8]);
492
493
// Test extend with exactly 64 bits
494
0 commit comments