Skip to content

Commit 6406376

Browse files
committed
short_path string.empty default
1 parent f247f7d commit 6406376

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

+stdlib/windows_shortname.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
p (1,1) string
1414
end
1515

16-
short = "";
16+
short = string.empty;
1717

1818
if ~ispc
1919
return

test/TestWindowsCOM.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function setup_path(tc)
1313
methods (Test)
1414

1515
function test_not(tc)
16-
tc.verifyEqual(stdlib.windows_shortname("not-exist"), "")
16+
tc.verifyEmpty(stdlib.windows_shortname("not-exist"))
1717

1818
end
1919

0 commit comments

Comments
 (0)