Skip to content

Commit

Permalink
Add comment explaining behavior of ValidateElementClassTypeMismatchEr…
Browse files Browse the repository at this point in the history
…ror test case
  • Loading branch information
sgilmore10 committed Oct 31, 2023
1 parent 6232083 commit c125f4b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions matlab/test/arrow/array/list/tClassTypeValidator.m
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ function ValidateElementClassTypeMismatchError(testCase)
% value.
import arrow.array.internal.list.ClassTypeValidator

% validator will expect all elements to be of type double, since "1" is a double.
validator = ClassTypeValidator(1);
errorID = "arrow:array:list:ClassTypeMismatch";
testCase.verifyError(@() validator.validateElement("A"), errorID);
Expand Down

0 comments on commit c125f4b

Please sign in to comment.