diff --git a/cpp/src/arrow/compute/kernels/scalar_cast_test.cc b/cpp/src/arrow/compute/kernels/scalar_cast_test.cc index c9310d8d65e8e..695f3e77e5f56 100644 --- a/cpp/src/arrow/compute/kernels/scalar_cast_test.cc +++ b/cpp/src/arrow/compute/kernels/scalar_cast_test.cc @@ -4033,10 +4033,10 @@ static void CheckStructToStructSubsetWithNulls( TEST(Cast, StructToSameSizedAndNamedStruct) { CheckStructToStruct(NumericTypes()); } -TEST(Cast, StructToStructSubset) { CheckStructToStructSubset({int8()}); } +TEST(Cast, StructToStructSubset) { CheckStructToStructSubset(NumericTypes()); } TEST(Cast, StructToStructSubsetWithNulls) { - CheckStructToStructSubsetWithNulls({int8()}); + CheckStructToStructSubsetWithNulls(NumericTypes()); } TEST(Cast, StructToSameSizedButDifferentNamedStruct) {