File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -20,9 +20,11 @@ function pkg_path(tc)
2020methods (Test , TestTags = " impure" )
2121
2222function test_is_exe(tc , p , method )
23- is_capable(tc , str2func(" stdlib." + method + " .is_exe" ))
24-
25- tc .verifyEqual(stdlib .is_exe(p{1 }, method ), p{2 })
23+ try
24+ tc .verifyEqual(stdlib .is_exe(p{1 }, method ), p{2 })
25+ catch e
26+ tc .verifyEqual(e .identifier , ' stdlib:choose_method:NameError' , e .message )
27+ end
2628end
2729
2830
Original file line number Diff line number Diff line change @@ -53,10 +53,6 @@ function is_capable(tc, f)
5353
5454elseif contains(n , " .native." )
5555
56- if endsWith(n , " is_exe" )
57- tc .assumeFalse(isMATLABReleaseOlderThan(' R2025a' ))
58- end
59-
6056 if endsWith(n , " canonical" )
6157 tc .assumeFalse(isMATLABReleaseOlderThan(' R2024a' ))
6258 end
You can’t perform that action at this time.
0 commit comments