summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEtienne Samson <samson.etienne@gmail.com>2018-06-19 20:15:49 +0200
committerEtienne Samson <samson.etienne@gmail.com>2018-07-06 22:13:09 +0200
commit17bd3b964f8acb1244a3910365ac7967ff3c758c (patch)
tree9c39402613a9d1f348d47a9671762db388551a2d /tests
parentca9bbcb5d9866b3b158c37e20a6d46406d2f7aa3 (diff)
downloadlibgit2-17bd3b964f8acb1244a3910365ac7967ff3c758c.tar.gz
tests: mailmap/parsing: add a missing cl_git_pass
Reported by Coverity, CID 1393483
Diffstat (limited to 'tests')
-rw-r--r--tests/mailmap/parsing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mailmap/parsing.c b/tests/mailmap/parsing.c
index 4479e4131..dc5096c9c 100644
--- a/tests/mailmap/parsing.c
+++ b/tests/mailmap/parsing.c
@@ -86,7 +86,7 @@ void test_mailmap_parsing__windows_string(void)
/* Parse with windows-style line endings */
git_buf_attach_notowned(&unixbuf, string_mailmap, strlen(string_mailmap));
- git_buf_text_lf_to_crlf(&winbuf, &unixbuf);
+ cl_git_pass(git_buf_text_lf_to_crlf(&winbuf, &unixbuf));
cl_git_pass(git_mailmap_from_buffer(&g_mailmap, winbuf.ptr, winbuf.size));
git_buf_dispose(&winbuf);