Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
alamb committed Oct 6, 2021
1 parent e663cd4 commit 33a54ee
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions arrow/src/array/array_primitive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -921,8 +921,7 @@ mod tests {
}

#[test]
#[should_panic(expected = "PrimitiveArray data should contain a single buffer only \
(values buffer)")]
#[should_panic(expected = "Expected 1 buffers in array of type Int32, got 2")]
fn test_primitive_array_invalid_buffer_len() {
let buffer = Buffer::from_slice_ref(&[0i32, 1, 2, 3, 4]);
let data = ArrayData::builder(DataType::Int32)
Expand Down

0 comments on commit 33a54ee

Please sign in to comment.