Skip to content

Commit b51d163

Browse files
committed
fileio.posix: enhance test
1 parent 47af5a4 commit b51d163

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

+stdlib/+fileio/posix.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
% with "/" even on Windows.
55
% If Windows path also have escaping "\" this breaks
66
arguments
7-
file (1,:) string
7+
file string
88
end
99

1010

+stdlib/+test/TestFilePure.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ function test_posix(tc)
77

88
if ispc
99
tc.verifyFalse(contains(posix("c:\foo"), "\"))
10-
tc.verifyFalse(any(contains(posix(["x:\123", "d:\abc"]), "\")))
10+
tc.verifyFalse(all(contains(posix(["x:\123", "d:\abc"]), "\")))
1111
end
1212

1313
tc.verifyEmpty(posix(string.empty))

0 commit comments

Comments
 (0)