Skip to content

Commit 95eeca4

Browse files
committed
testNormalize: use_java
1 parent 3346ca4 commit 95eeca4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/TestNormalize.m

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
classdef TestNormalize < matlab.unittest.TestCase
22

33
properties (TestParameter)
4+
use_java = num2cell(unique([stdlib.has_java(), false]))
5+
46
p = {
57
{"", "."}, ...
68
{"a/..", "."}, ...
@@ -23,8 +25,8 @@
2325
end
2426

2527
methods (Test)
26-
function test_normalize(tc, p)
27-
tc.verifyEqual(stdlib.normalize(p{1}), p{2})
28+
function test_normalize(tc, p, use_java)
29+
tc.verifyEqual(stdlib.normalize(p{1}, use_java), p{2})
2830
end
2931
end
3032

0 commit comments

Comments
 (0)