Skip to content

Commit

Permalink
Address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
zanmato1984 committed Feb 8, 2024
1 parent 33fe69a commit b9c94b6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cpp/src/arrow/array/array_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -918,10 +918,14 @@ TEST_F(TestArray, TestBinaryViewAppendArraySlice) {
ArraySpan span;
span.SetMembers(*src->data());
BinaryViewBuilder dst_builder(pool_);
ASSERT_OK(dst_builder.AppendArraySlice(span, 1, 1));
ASSERT_OK(dst_builder.AppendArraySlice(span, 0, 1));
ASSERT_EQ(1, dst_builder.length());
ASSERT_OK(dst_builder.AppendArraySlice(span, 1, 1));
ASSERT_EQ(2, dst_builder.length());
ASSERT_OK_AND_ASSIGN(auto dst, dst_builder.Finish());
ASSERT_OK(dst->ValidateFull());

AssertArraysEqual(*src, *dst);
}

TEST_F(TestArray, ValidateBuffersPrimitive) {
Expand Down

0 comments on commit b9c94b6

Please sign in to comment.