Skip to content

Commit

Permalink
fixup! concatenate_test.cc: Isolate all the random array generation code
Browse files Browse the repository at this point in the history
  • Loading branch information
felipecrv committed Nov 17, 2023
1 parent 05f6f38 commit 773c800
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions cpp/src/arrow/array/concatenate_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -254,10 +254,9 @@ class PrimitiveConcatenateTest : public ConcatenateTest {
TYPED_TEST_SUITE(PrimitiveConcatenateTest, PrimitiveArrowTypes);

TYPED_TEST(PrimitiveConcatenateTest, Primitives) {
this->template Check(
[this](int64_t size, double null_probability, std::shared_ptr<Array>* out) {
*out = this->rag.template PrimitiveArray<TypeParam>(size, null_probability);
});
this->Check([this](int64_t size, double null_probability, std::shared_ptr<Array>* out) {
*out = this->rag.template PrimitiveArray<TypeParam>(size, null_probability);
});
}

TEST_F(ConcatenateTest, NullType) {
Expand Down

0 comments on commit 773c800

Please sign in to comment.