diff options
Diffstat (limited to 'tests/parsing.c')
-rw-r--r-- | tests/parsing.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/parsing.c b/tests/parsing.c index f34107e..c28df0d 100644 --- a/tests/parsing.c +++ b/tests/parsing.c @@ -24,13 +24,13 @@ void test_parsing(const char *test_dir) { (int)(strlen(name) - strlen(".flat.pom")), name); sprintf(flat_path, "%s/parsing/%s", test_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 *flat = pom_load_path(flat_path, &error); + pom_conf *flat = pom_load_path(NULL, flat_path, &error); if (error) { test_fail("Failed to parse %s\n%s", flat_path, pom_error_to_string(error)); |