File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 3232
3333if executable ~= 0
3434 if ispc()
35- if executable > 0 && ~any( ismember(k , " Readable" ) )
35+ if executable > 0 && ~ismember(" Readable" , k )
3636 k(end + 1 ) = " Readable" ;
3737 v(end + 1 ) = true ;
3838 end
Original file line number Diff line number Diff line change 6262for m = backendReq
6363 switch m
6464 case ' dotnet'
65- if ~any( ismember(self . backends , ' dotnet' ) )
65+ if ~ismember(' dotnet' , self . backends )
6666 continue
6767 end
6868
7373 if isunix(), continue , end
7474 end
7575 case ' java'
76- if ~any( ismember(self . backends , ' java' ) )
76+ if ~ismember(' java' , self . backends )
7777 continue
7878 end
7979
8787 if ispc(), continue , end
8888 end
8989 case ' python'
90- if ~any( ismember(self . backends , ' python' ) )
90+ if ~ismember(' python' , self . backends )
9191 continue
9292 end
9393
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ function test_toolbox_used(tc)
2323[mathworksUsed , userFun ] = stdlib .toolbox_used(r );
2424Nlicense = length(mathworksUsed );
2525tc .verifyGreaterThanOrEqual(Nlicense , 1 )
26- tc .verifyTrue(any( ismember(mathworksUsed , " MATLAB" ) ))
26+ tc .verifyTrue(ismember(" MATLAB" , mathworksUsed ))
2727tc .verifyGreaterThan(length(userFun ), 200 ) % we have over 200 stdlib functions
2828
2929% don't use paid toolboxes without checking they exist, otherwise this function fails
You can’t perform that action at this time.
0 commit comments