tustvold commented on a change in pull request #1297:
URL: https://github.com/apache/arrow-rs/pull/1297#discussion_r803507122



##########
File path: arrow/src/util/bit_chunk_iterator.rs
##########
@@ -466,9 +466,6 @@ mod tests {
     #[test]
     #[allow(clippy::assertions_on_constants)]
     fn test_unaligned_bit_chunk_iterator() {
-        // This test exploits the fact Buffer is at least 64-byte aligned
-        assert!(ALIGNMENT > 64);

Review comment:
       The derp here is strong. The test requires that `Buffer is 64 **bit** 
aligned, not 64 **byte** aligned :facepalm:
   
   As an added bonus, even if it did care, this should be `>=`




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to