File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -32,18 +32,19 @@ function test_main(context, sel)
3232 try
3333 suite = testsuite(test_root , ' Tag' , rtags );
3434 catch e
35- if e .identifier == " MATLAB:expectedScalartext"
36- suite = testsuite(test_root );
35+ switch e .identifier
36+ case {' MATLAB:expectedScalartext' , ' MATLAB:expectedScalar' }
37+ suite = testsuite(test_root );
3738
38- assert(numel(rtags ) > 0 , " No test tags found for this Matlab release" )
39- ts = HasTag(rtags(1 ));
40- if numel(rtags ) > 1
41- for t = rtags(2 : end )
42- ts = ts | HasTag(t );
39+ assert(numel(rtags ) > 0 , " No test tags found for this Matlab release" )
40+ ts = HasTag(rtags(1 ));
41+ if numel(rtags ) > 1
42+ for t = rtags(2 : end )
43+ ts = ts | HasTag(t );
44+ end
4345 end
44- end
45- sel = sel & ts ;
46- else
46+ sel = sel & ts ;
47+ otherwise
4748 rethrow(e )
4849 end
4950 end
You can’t perform that action at this time.
0 commit comments