tustvold commented on code in PR #1825:
URL: https://github.com/apache/arrow-rs/pull/1825#discussion_r893324850


##########
arrow/src/array/array_list.rs:
##########
@@ -940,7 +938,7 @@ mod tests {
     }
 
     #[test]
-    #[should_panic(expected = "index out of bounds: the len is 10 but the 
index is 11")]
+    #[should_panic(expected = "index out of bounds: the len is 9 but the index 
is 10")]

Review Comment:
   The index changes because we check the length of the array, not the end 
offset first



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to