File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed
Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -219,22 +219,16 @@ mod tests {
219219 // Now modify bits2 at an INVALID position - should still be equal
220220 bits2[ 0 ] = !bits2[ 0 ] ; // Flip bit 0, which is invalid (0 % 3 == 0)
221221 let v3 = BoolVector :: new ( BitBuffer :: from ( bits2. clone ( ) ) , validity. clone ( ) ) ;
222- assert_eq ! (
223- v1, v3,
224- "Vectors should be equal when only invalid positions differ"
225- ) ;
222+ assert_eq ! ( v1, v3) ;
226223
227224 // Now modify bits2 at a VALID position - should NOT be equal
228225 bits2[ 1 ] = !bits2[ 1 ] ; // Flip bit 1, which is valid (1 % 3 != 0)
229226 let v4 = BoolVector :: new ( BitBuffer :: from ( bits2) , validity) ;
230- assert_ne ! ( v1, v4, "Vectors should differ when valid positions differ" ) ;
227+ assert_ne ! ( v1, v4) ;
231228
232229 // Test with different validity patterns - should NOT be equal
233230 let validity2 = Mask :: new_true ( len) ;
234231 let v5 = BoolVector :: new ( BitBuffer :: from ( bits1) , validity2) ;
235- assert_ne ! (
236- v1, v5,
237- "Vectors with different validity should not be equal"
238- ) ;
232+ assert_ne ! ( v1, v5) ;
239233 }
240234}
You can’t perform that action at this time.
0 commit comments