|
5 | 5 | end |
6 | 6 |
|
7 | 7 | properties(TestParameter) |
8 | | -p_exists = {{pwd, true}, {mfilename("fullpath") + ".m", true}, {tempname, false}} |
| 8 | +p_exists = {{pwd(), true}, {mfilename("fullpath") + ".m", true}, {tempname, false}} |
9 | 9 | % on CI matlabroot can be writable! |
10 | | -in_is_write = {pwd, "not-exists"}; |
| 10 | +in_is_write = {pwd(), "not-exists"}; |
11 | 11 | ref_is_write = {true, false} |
12 | 12 | p_expand |
13 | 13 | p_same = {... |
14 | 14 | {"","", false}, ... |
15 | 15 | {tempname, tempname, false}, ... |
16 | 16 | {"..", "./..", true}, ... |
17 | | -{"..", pwd + "/..", true}} |
| 17 | +{"..", pwd() + "/..", true}} |
18 | 18 | end |
19 | 19 |
|
20 | 20 | properties |
|
28 | 28 | cwd = fileparts(mfilename("fullpath")); |
29 | 29 | top = fullfile(cwd, ".."); |
30 | 30 | addpath(top) |
31 | | -p_expand = {{"", ""}, {"~abc", "~abc"}, {"~", stdlib.homedir}, {"~/foo", stdlib.join(stdlib.homedir, "foo")}}; |
| 31 | +p_expand = {{"", ""}, {"~abc", "~abc"}, {"~", stdlib.homedir()}, {"~/foo", stdlib.homedir() + "/foo"}}; |
32 | 32 | end |
33 | 33 | end |
34 | 34 |
|
|
0 commit comments