clar: Clear errors on shutdown
diff --git a/tests-clar/clar_helpers.c b/tests-clar/clar_helpers.c
index c914794..80d0e3a 100644
--- a/tests-clar/clar_helpers.c
+++ b/tests-clar/clar_helpers.c
@@ -9,6 +9,7 @@ void clar_on_init(void)
void clar_on_shutdown(void)
{
git_threads_shutdown();
+ giterr_clear();
}
void cl_git_mkfile(const char *filename, const char *content)