mirror of
https://github.com/thepigeongenerator/mcaselector-lite.git
synced 2025-12-18 11:35:46 +01:00
Compare commits
1 Commits
main
...
4d2b88d0e7
| Author | SHA1 | Date | |
|---|---|---|---|
| 4d2b88d0e7 |
@@ -116,7 +116,7 @@ void test_conf_getpat(void) {
|
||||
/* test with setting USERPROFILE */
|
||||
_putenv("USERPROFILE=C:\\Users\\test");
|
||||
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);
|
||||
|
||||
/* test with setting APPDATA */
|
||||
|
||||
Reference in New Issue
Block a user