diff options
author | Edward Thomson <ethomson@github.com> | 2016-12-29 12:55:49 +0000 |
---|---|---|
committer | Edward Thomson <ethomson@github.com> | 2016-12-29 12:55:49 +0000 |
commit | 8f0d5cdef9e2cb53c2f455d0a449f25c87647811 (patch) | |
tree | 34ac70e269dee0a3d00300bb08b7176d40bcfff1 /tests/refs | |
parent | 909d5494368a00809bc42f4780e86f4dd66e4422 (diff) | |
download | libgit2-8f0d5cdef9e2cb53c2f455d0a449f25c87647811.tar.gz |
tests: update error message checkingethomson/error_msgs
Diffstat (limited to 'tests/refs')
-rw-r--r-- | tests/refs/branches/upstream.c | 2 | ||||
-rw-r--r-- | tests/refs/reflog/reflog.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/refs/branches/upstream.c b/tests/refs/branches/upstream.c index 8f2e7a2ca..82f5665d8 100644 --- a/tests/refs/branches/upstream.c +++ b/tests/refs/branches/upstream.c @@ -175,7 +175,7 @@ void test_refs_branches_upstream__no_fetch_refspec(void) cl_git_pass(git_reference_lookup(&branch, repo, "refs/heads/test")); cl_git_pass(git_reference_create(&ref, repo, "refs/remotes/matching/master", git_reference_target(branch), 1, "fetch")); cl_git_fail(git_branch_set_upstream(branch, "matching/master")); - cl_assert_equal_s("Could not determine remote for 'refs/remotes/matching/master'", + cl_assert_equal_s("could not determine remote for 'refs/remotes/matching/master'", giterr_last()->message); /* we can't set it automatically, so let's test the user setting it by hand */ diff --git a/tests/refs/reflog/reflog.c b/tests/refs/reflog/reflog.c index fdb15502c..9e46c8ae9 100644 --- a/tests/refs/reflog/reflog.c +++ b/tests/refs/reflog/reflog.c @@ -261,7 +261,7 @@ void test_refs_reflog_reflog__reading_a_reflog_with_invalid_format_returns_error error = giterr_last(); cl_assert(error != NULL); - cl_assert_equal_s("Unable to parse OID - contains invalid characters", error->message); + cl_assert_equal_s("unable to parse OID - contains invalid characters", error->message); git_reference_free(ref); git_buf_free(&logpath); |