diff options
Diffstat (limited to 'tests-clar')
| -rw-r--r-- | tests-clar/attr/lookup.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests-clar/attr/lookup.c b/tests-clar/attr/lookup.c index 7779e046f..9462bbe7f 100644 --- a/tests-clar/attr/lookup.c +++ b/tests-clar/attr/lookup.c @@ -12,7 +12,7 @@ void test_attr_lookup__simple(void) cl_assert_strequal(cl_fixture("attr/attr0"), file->path); cl_assert(file->rules.length == 1); - cl_git_pass(git_attr_path__init(&path, "test")); + cl_git_pass(git_attr_path__init(&path, "test", NULL)); cl_assert_strequal("test", path.path); cl_assert_strequal("test", path.basename); cl_assert(!path.is_dir); @@ -42,7 +42,7 @@ static void run_test_cases(git_attr_file *file, test_case *cases) int error; for (c = cases; c->path != NULL; c++) { - cl_git_pass(git_attr_path__init(&path, c->path)); + cl_git_pass(git_attr_path__init(&path, c->path, NULL)); if (c->force_dir) path.is_dir = 1; @@ -138,7 +138,7 @@ void test_attr_lookup__match_variants(void) cl_assert_strequal(cl_fixture("attr/attr1"), file->path); cl_assert(file->rules.length == 10); - cl_git_pass(git_attr_path__init(&path, "/testing/for/pat0")); + cl_git_pass(git_attr_path__init(&path, "/testing/for/pat0", NULL)); cl_assert_strequal("pat0", path.basename); run_test_cases(file, cases); |
