Skip to content

Commit 79a5755

Browse files
committed
testShort: skip if path doesn't have a space as it won't always shorten
1 parent ea52f8a commit 79a5755

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/TestWindowsCOM.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ function test_short_file(tc)
4141

4242
file = fullfile(matlabroot, "VersionInfo.xml");
4343
tc.assumeThat(file, IsFile, "VersionInfo.xml missing")
44+
tc.assumeSubstring(file, " ", "name won't shorten if it doesn't have a space")
4445

4546
for f = [file, stdlib.posix(file)]
4647
short = stdlib.fileio.windows_shortname(f);

0 commit comments

Comments
 (0)