mirror of
https://github.com/thepigeongenerator/mcaselector-lite.git
synced 2025-12-18 22:05:44 +01:00
Compare commits
1 Commits
1e24a4ee92
...
4d2b88d0e7
| Author | SHA1 | Date | |
|---|---|---|---|
| 4d2b88d0e7 |
@@ -116,7 +116,7 @@ void test_conf_getpat(void) {
|
|||||||
/* test with setting USERPROFILE */
|
/* test with setting USERPROFILE */
|
||||||
_putenv("USERPROFILE=C:\\Users\\test");
|
_putenv("USERPROFILE=C:\\Users\\test");
|
||||||
path = conf_getpat("\\mypath");
|
path = conf_getpat("\\mypath");
|
||||||
assert_true(path != NULL && strcmp(path, "C:\\Users\\test\\mypath") == 0);
|
assert_true(path != NULL && strcmp(path, "C:\\Users\\test\\AppData\\Roaming\\mypath") == 0);
|
||||||
free(path);
|
free(path);
|
||||||
|
|
||||||
/* test with setting APPDATA */
|
/* test with setting APPDATA */
|
||||||
|
|||||||
Reference in New Issue
Block a user