Skip to content

Commit

Permalink
Fix copy/paste comment wording mistakes.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevingurney committed Oct 11, 2023
1 parent 20b6bee commit 9f739b6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions matlab/test/arrow/type/tListType.m
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@ function ConstructionFcnTooFewInputsError(testCase)
end

function ConstructionFcnInvalidInputTypeError(testCase)
% Verify construction function errors if any one of the input
% arguments is not an arrow.type.Type object.
% Verify construction function errors if the input
% argument is not an arrow.type.Type object.
fcn = @() testCase.ConstructionFcn("abc");
testCase.verifyError(fcn, "MATLAB:validation:UnableToConvert");
end

function ConstructionFcnEmptyTypeError(testCase)
% Verify construction function errors if given an empty
% arrow.type.Type array as one of its inputs.
% arrow.type.Type array as the input argument.
fcn = @() testCase.ConstructionFcn(arrow.type.Type.empty(0, 0));
testCase.verifyError(fcn, "MATLAB:validation:IncompatibleSize");
end
Expand Down Expand Up @@ -121,4 +121,4 @@ function IsEqualFalse(testCase)

end

end
end

0 comments on commit 9f739b6

Please sign in to comment.