Skip to content

Commit 23bb619

Browse files
committed
test(fix): use generic error metaclass as different releases throw different error Ids
1 parent 6d2017f commit 23bb619

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/data/tTimeSeriesOperationSupport.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function test_operationFallbackBuiltin(testCase)
3131
a = TestTimeSeriesWithOperationSupport();
3232

3333
% Exercise and verify.
34-
testCase.verifyError(@() a + 2, "MATLAB:math:mustBeNumericCharOrLogical", ...
34+
testCase.verifyError(@() a + 2, ?MException, ...
3535
"Operation must fall back to built-in command when unsupported.");
3636
end
3737

0 commit comments

Comments
 (0)