From 181fca68289bbd8b8ed8c5ab9f338728e03596a3 Mon Sep 17 00:00:00 2001 From: Quinn Date: Thu, 18 Sep 2025 09:50:56 +0200 Subject: [PATCH] fix: windows test; USERPROFILE should also result in a roaming path. --- test/test_conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_conf.c b/test/test_conf.c index dd0fc56..de0eee0 100644 --- a/test/test_conf.c +++ b/test/test_conf.c @@ -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 */