diff options
| author | Vicent Martà <vicent@github.com> | 2013-10-08 04:31:26 -0700 |
|---|---|---|
| committer | Vicent Martà <vicent@github.com> | 2013-10-08 04:31:26 -0700 |
| commit | ca27ae4859e86006d4b7d2fda4976f328f4726cb (patch) | |
| tree | 2a09d4df939f555c5c43a1f26c944dc02c8e0219 /tests-clar | |
| parent | 711333efe1c1388c39cd76480273b4fcea18d491 (diff) | |
| parent | 13f670a5d9d86629f4879f6df9494356e4f28832 (diff) | |
| download | libgit2-ca27ae4859e86006d4b7d2fda4976f328f4726cb.tar.gz | |
Merge pull request #1894 from libgit2/cmn/tree-raw
tree: allow retrieval of raw attributes
Diffstat (limited to 'tests-clar')
| -rw-r--r-- | tests-clar/object/tree/attributes.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests-clar/object/tree/attributes.c b/tests-clar/object/tree/attributes.c index cc93b45d2..85216cd1b 100644 --- a/tests-clar/object/tree/attributes.c +++ b/tests-clar/object/tree/attributes.c @@ -107,7 +107,8 @@ void test_object_tree_attributes__normalize_600(void) cl_git_pass(git_tree_lookup(&tree, repo, &id)); entry = git_tree_entry_byname(tree, "ListaTeste.xml"); - cl_assert_equal_i(entry->attr, GIT_FILEMODE_BLOB); + cl_assert_equal_i(git_tree_entry_filemode(entry), GIT_FILEMODE_BLOB); + cl_assert_equal_i(git_tree_entry_filemode_raw(entry), 0100600); git_tree_free(tree); cl_git_sandbox_cleanup(); |
