Skip to content

Commit 20b6c42

Browse files
committed
testShort: sometimes path is shortened but not file
1 parent b4d4d8e commit 20b6c42

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

test/TestWindowsCOM.m

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,7 @@ function test_short_file(tc)
4545
for f = [file, stdlib.posix(file)]
4646
short = stdlib.fileio.windows_shortname(f);
4747

48-
if lower(getenv("CI")) == "true"
49-
tc.assumeSubstring(short, "VERSIO~1.XML")
50-
else
51-
tc.verifySubstring(short, "VERSIO~1.XML")
52-
end
48+
tc.verifySubstring(short, "~")
5349
end
5450

5551
tc.verifyEqual(stdlib.canonical(short), stdlib.posix(file))

0 commit comments

Comments
 (0)