mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-11 04:28:26 +00:00

Old descriptions have been updated and new ones have been added for the 'git_strerror' function. Signed-off-by: Vicent Marti <tanoku@gmail.com>
13 lines
248 B
C
13 lines
248 B
C
#include "test_lib.h"
|
|
#include "errors.h"
|
|
|
|
BEGIN_TEST(errno_zero_on_init)
|
|
must_be_true(git_errno == 0);
|
|
END_TEST
|
|
|
|
BEGIN_TEST(set_ENOTOID)
|
|
must_be_true(GIT_ENOTOID != 0);
|
|
git_errno = GIT_ENOTOID;
|
|
must_be_true(git_errno == GIT_ENOTOID);
|
|
END_TEST
|