summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2013-11-12 19:02:34 -0800
committerBen Straub <bs@github.com>2013-11-12 19:02:34 -0800
commit4320bec09bff4596ed0647eb2fcbedf19995f631 (patch)
treec36b5c2eb2f64984cbeb373e47a7a9217e28dd9f
parentb20c40a8d6127a3ee9b807b2243e41bc8e85124c (diff)
downloadlibgit2-blame-fixes.tar.gz
Minor cleanupblame-fixes
-rw-r--r--tests-clar/blame/buffer.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests-clar/blame/buffer.c b/tests-clar/blame/buffer.c
index 82085c3d5..912ee9846 100644
--- a/tests-clar/blame/buffer.c
+++ b/tests-clar/blame/buffer.c
@@ -19,7 +19,7 @@ void test_blame_buffer__cleanup(void)
void test_blame_buffer__added_line(void)
{
- git_blame_hunk *hunk;
+ const git_blame_hunk *hunk;
const char *buffer = "\
EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE\n\
@@ -135,7 +135,7 @@ CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
check_blame_hunk_index(g_repo, g_bufferblame, 4, 8, 3, 0, "63d671eb", "b.txt");
}
-void test_blame_buffer__add_line_at_end(void)
+void test_blame_buffer__add_lines_at_end(void)
{
const char *buffer = "\
EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE\n\
@@ -163,5 +163,4 @@ def\n";
check_blame_hunk_index(g_repo, g_bufferblame, 2, 6, 5, 0, "63d671eb", "b.txt");
check_blame_hunk_index(g_repo, g_bufferblame, 3, 11, 5, 0, "aa06ecca", "b.txt");
check_blame_hunk_index(g_repo, g_bufferblame, 4, 16, 2, 0, "00000000", "b.txt");
-
}