summaryrefslogtreecommitdiff
path: root/tests-clar/commit/write.c
diff options
context:
space:
mode:
authorVicent Martí <tanoku@gmail.com>2012-04-03 04:52:52 +0200
committerVicent Martí <tanoku@gmail.com>2012-04-03 04:52:52 +0200
commit471bb8b120fab5969df5778aa5c8d1c22c30d876 (patch)
treec66778601219fbb2783d0b37bc20dbd20fe24b0c /tests-clar/commit/write.c
parent16eaa15059afb3119b4e8482231bf0b0bdced8e0 (diff)
downloadlibgit2-471bb8b120fab5969df5778aa5c8d1c22c30d876.tar.gz
tests: Cleanup & fix test suite
Diffstat (limited to 'tests-clar/commit/write.c')
-rw-r--r--tests-clar/commit/write.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests-clar/commit/write.c b/tests-clar/commit/write.c
index 66fe2bfc..5a8e0c4c 100644
--- a/tests-clar/commit/write.c
+++ b/tests-clar/commit/write.c
@@ -77,10 +77,6 @@ void test_commit_write__from_memory(void)
cl_assert(committer1->when.offset == 60);
cl_assert(strcmp(git_commit_message(commit), commit_message) == 0);
-
-#ifndef GIT_WIN32
- cl_assert((loose_object_mode(REPOSITORY_FOLDER, (git_object *)commit) & 0777) == GIT_OBJECT_FILE_MODE);
-#endif
}