Skip to content

Commit 1b3ec0e

Browse files
committed
testjava: nul
1 parent 989dbe2 commit 1b3ec0e

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
@@ -128,12 +128,7 @@ function test_cpu_load(tc)
128128

129129

130130
function test_is_regular_file(tc)
131-
import matlab.unittest.constraints.IsFile
132-
if ~ispc
133-
tc.assumeThat(stdlib.null_file, IsFile)
134-
end
135-
tc.verifyFalse(stdlib.is_regular_file(stdlib.null_file), "null file is not a regular file")
136-
131+
tc.verifyFalse(stdlib.is_regular_file(stdlib.null_file()), "null file is not a regular file")
137132
end
138133

139134

0 commit comments

Comments
 (0)