summaryrefslogtreecommitdiff
path: root/blob_test.go
AgeCommit message (Collapse)Author
2020-07-30Add support for git_blob_is_binary (#625)Yuichi Watanabe
This adds IsBinary() func to Blob struct, which simply returns the result of git_blob_is_binary function. Refs: https://libgit2.org/libgit2/#HEAD/group/blob/git_blob_is_binary Issue: Add support for git_blob_is_binary #426 Fixes: #426
2016-08-27Merge pull request #336 from libgit2/cmn/test-parallelCarlos Martín Nieto
Run the tests in parallel
2016-08-27Remove unecessary copyCarlos Martín Nieto
2016-08-27Add test for slice-to-slice and GCo pointer detectionItamar Turner-Trauring
2016-08-27Run the tests in parallelCarlos Martín Nieto
This saves about 1s, or 1/3 of the test runtime. The linking is still much slower, but this we can control.
2015-04-24tests: always clean up temporary repository dirsPatrick Steinhardt
Some test repositories are not correctly removed after the tests did run. Fix by introducing a function that is to be used for cleaning up temporary test repositories.
2014-10-15Add a test for blobsCarlos Martín Nieto
This has been in my worktree unadded for a while.