diff options
| author | Vicent Martà <tanoku@gmail.com> | 2012-02-01 17:35:11 +0100 |
|---|---|---|
| committer | Vicent Martà <tanoku@gmail.com> | 2012-02-01 17:35:11 +0100 |
| commit | bf0107d1ece702d67e13f4e7e5063fbcabf6c040 (patch) | |
| tree | bf6a32694a2950b046bc896e8524a068b3b98668 /tests-clar | |
| parent | 771cde43181d0ba2fffdc9f533f5ef572b1482ee (diff) | |
| parent | e4eb94a2559ca669412d318112a200ead1222466 (diff) | |
| download | libgit2-bf0107d1ece702d67e13f4e7e5063fbcabf6c040.tar.gz | |
Merge remote-tracking branch 'arrbee/status-bugs' into development
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); |
