Skip to content

Commit 4414b3b

Browse files
committed
testjava: nul
1 parent f3c70e2 commit 4414b3b

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

test/TestJava.m

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -124,12 +124,7 @@ function test_cpu_load(tc)
124124

125125

126126
function test_is_regular_file(tc)
127-
import matlab.unittest.constraints.IsFile
128-
if ~ispc
129-
tc.assumeThat(stdlib.null_file, IsFile)
130-
end
131-
tc.verifyFalse(stdlib.is_regular_file(stdlib.null_file), "null file is not a regular file")
132-
127+
tc.verifyFalse(stdlib.is_regular_file(stdlib.null_file()), "null file is not a regular file")
133128
end
134129

135130

0 commit comments

Comments
 (0)