Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
llama90 committed Dec 23, 2023
1 parent 3c455cc commit 8d4fa17
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions cpp/src/arrow/scalar_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1253,12 +1253,13 @@ TEST(TestMapScalar, Cast) {

CheckListCast(scalar, list(key_value_type));
CheckListCast(scalar, large_list(key_value_type));
CheckListCast(scalar, fixed_size_list(key_value_type, 2));
// CheckListCast(scalar, fixed_size_list(key_value_type, 2));

auto invalidCastType = fixed_size_list(key_value_type, 5);
auto [expectedCode, expectedMessage] = GetExpectedError(scalar.type, invalidCastType);

CheckInvalidListCast(scalar, invalidCastType, expectedCode, expectedMessage);
// auto invalidCastType = fixed_size_list(key_value_type, 5);
// auto [expectedCode, expectedMessage] = GetExpectedError(scalar.type,
// invalidCastType);
//
// CheckInvalidListCast(scalar, invalidCastType, expectedCode, expectedMessage);
}

TEST(TestStructScalar, FieldAccess) {
Expand Down

0 comments on commit 8d4fa17

Please sign in to comment.