diff options
Diffstat (limited to 'tests/location.c')
-rw-r--r-- | tests/location.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/location.c b/tests/location.c index 5694f78..372d506 100644 --- a/tests/location.c +++ b/tests/location.c @@ -24,13 +24,13 @@ void test_location(const char *test_dir) { (int)(strlen(name) - strlen(".locations.pom")), name); sprintf(loc_path, "%s/%s", location_dir, name); pom_error *error; - pom_conf *conf = pom_load_path(conf_path, &error); + pom_conf *conf = pom_load_path(NULL, conf_path, &error); if (error) { test_fail("Failed to parse %s\n%s", conf_path, pom_error_to_string(error)); continue; } - pom_conf *loc = pom_load_path(loc_path, &error); + pom_conf *loc = pom_load_path(NULL, loc_path, &error); if (error) { test_fail("Failed to parse %s\n%s", loc_path, pom_error_to_string(error)); |