Skip to content

Commit ca66879

Browse files
committed
test which absolute: more general criteria
1 parent e94d4c1 commit ca66879

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/TestWhich.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ function test_which_absolute(tc, mexe)
4141
tc.assumeThat(r, matlab.unittest.constraints.IsFile)
4242
tc.assumeTrue(stdlib.is_exe(r))
4343

44-
tc.verifyEqual(stdlib.which(r), r)
45-
tc.verifyEqual(stdlib.which(mexe), r)
44+
tc.verifyNotEmpty(stdlib.which(r), r)
45+
tc.verifyNotEmpty(stdlib.which(mexe), r)
4646

4747
end
4848

0 commit comments

Comments
 (0)