summaryrefslogtreecommitdiff
path: root/tests/refs/reflog/reflog.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/refs/reflog/reflog.c')
-rw-r--r--tests/refs/reflog/reflog.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/tests/refs/reflog/reflog.c b/tests/refs/reflog/reflog.c
index 60085791c..9ac15d556 100644
--- a/tests/refs/reflog/reflog.c
+++ b/tests/refs/reflog/reflog.c
@@ -100,29 +100,6 @@ void test_refs_reflog_reflog__append_then_read(void)
git_signature_free(committer);
}
-void test_refs_reflog_reflog__append_to_then_read(void)
-{
- /* write a reflog for a given reference and ensure it can be read back */
- git_reference *ref;
- git_oid oid;
- git_signature *committer;
-
- /* Create a new branch pointing at the HEAD */
- git_oid_fromstr(&oid, current_master_tip);
- cl_git_pass(git_reference_create(&ref, g_repo, new_ref, &oid, 0));
- git_reference_free(ref);
-
- cl_git_pass(git_signature_now(&committer, "foo", "foo@bar"));
-
- cl_git_fail(git_reflog_append_to(g_repo, new_ref, &oid, committer, "no inner\nnewline"));
- cl_git_pass(git_reflog_append_to(g_repo, new_ref, &oid, committer, NULL));
- cl_git_pass(git_reflog_append_to(g_repo, new_ref, &oid, committer, commit_msg "\n"));
-
- assert_appends(committer, &oid);
-
- git_signature_free(committer);
-}
-
void test_refs_reflog_reflog__renaming_the_reference_moves_the_reflog(void)
{
git_reference *master, *new_master;