summaryrefslogtreecommitdiff
path: root/tests/fetchhead
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@github.com>2016-12-29 12:55:49 +0000
committerEdward Thomson <ethomson@github.com>2016-12-29 12:55:49 +0000
commit8f0d5cdef9e2cb53c2f455d0a449f25c87647811 (patch)
tree34ac70e269dee0a3d00300bb08b7176d40bcfff1 /tests/fetchhead
parent909d5494368a00809bc42f4780e86f4dd66e4422 (diff)
downloadlibgit2-8f0d5cdef9e2cb53c2f455d0a449f25c87647811.tar.gz
tests: update error message checkingethomson/error_msgs
Diffstat (limited to 'tests/fetchhead')
-rw-r--r--tests/fetchhead/nonetwork.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/fetchhead/nonetwork.c b/tests/fetchhead/nonetwork.c
index 3b750af5e..ea4b70e4a 100644
--- a/tests/fetchhead/nonetwork.c
+++ b/tests/fetchhead/nonetwork.c
@@ -293,7 +293,7 @@ void test_fetchhead_nonetwork__invalid_for_merge(void)
cl_git_rewritefile("./test1/.git/FETCH_HEAD", "49322bb17d3acc9146f98c97d078513228bbf3c0\tinvalid-merge\t\n");
cl_git_fail(git_repository_fetchhead_foreach(g_repo, read_noop, NULL));
- cl_assert(git__prefixcmp(giterr_last()->message, "Invalid for-merge") == 0);
+ cl_assert(git__prefixcmp(giterr_last()->message, "invalid for-merge") == 0);
}
void test_fetchhead_nonetwork__invalid_description(void)
@@ -304,7 +304,7 @@ void test_fetchhead_nonetwork__invalid_description(void)
cl_git_rewritefile("./test1/.git/FETCH_HEAD", "49322bb17d3acc9146f98c97d078513228bbf3c0\tnot-for-merge\n");
cl_git_fail(git_repository_fetchhead_foreach(g_repo, read_noop, NULL));
- cl_assert(git__prefixcmp(giterr_last()->message, "Invalid description") == 0);
+ cl_assert(git__prefixcmp(giterr_last()->message, "invalid description") == 0);
}
static int assert_master_for_merge(const char *ref, const char *url, const git_oid *id, unsigned int is_merge, void *data)