Skip to content

apply: small fixups in the test suite#4885

Merged
ethomson merged 2 commits intolibgit2:masterfrom
pks-t:pks/apply-test-fixups
Nov 13, 2018
Merged

apply: small fixups in the test suite#4885
ethomson merged 2 commits intolibgit2:masterfrom
pks-t:pks/apply-test-fixups

Conversation

@pks-t
Copy link
Copy Markdown
Member

@pks-t pks-t commented Nov 13, 2018

Some minor fixups in the "apply" test suite that have been noticed by Coverity.

Some function calls in the new "apply" test suite were missing the
checks whether they succeeded as expected. Fix this by adding the
missing `cl_git_pass` wrappers.
Since commit 56ffdfc (buffer: deprecate `git_buf_free` in favor of
`git_buf_dispose`, 2018-02-08), the function `git_buf_free` is
deprecated and shall not be used anymore. As part of the new apply
framework that has been cooking for quite some time some new references
have been introduced to that deprecated function. Replace them with
calls to `git_buf_dispose`.
@ethomson
Copy link
Copy Markdown
Member

🙏 Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants