Skip to content

Commit 0c6a6ee

Browse files
committed
Return isApplicable check to checking for the testing environment
1 parent 1cbb1a9 commit 0c6a6ee

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/matlab/matlabls/handlers/formatting/tFormatCode.m

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
function isApplicable (testCase)
99
% Determine if the test should be skipped in the current environment
1010
isTestingEnvironment = ~isempty(getenv('MATLAB_TEST_ENVIRONMENT'));
11-
shouldRun = ~(isMATLABReleaseOlderThan('R2023b') && isTestingEnvironment);
12-
shouldRun = ~isMATLABReleaseOlderThan('R2025a') || isempty(javachk('swing'));
11+
shouldRun = ~(isMATLABReleaseOlderThan('R2024b') && isTestingEnvironment);
1312

1413
testCase.assumeTrue(...
1514
shouldRun,...

0 commit comments

Comments
 (0)