Merge branch 'es/worktree-repair-copied' into cw/worktrees-relative
[git/gitster.git] / t / unit-tests / unit-test.h
blob85e5d6a948acf9b3fffd90459f5e832238372a5f
1 #include "git-compat-util.h"
2 #include "clar/clar.h"
3 #include "clar-decls.h"
4 #include "strbuf.h"
6 #define cl_failf(fmt, ...) do { \
7 char desc[4096]; \
8 snprintf(desc, sizeof(desc), fmt, __VA_ARGS__); \
9 clar__fail(__FILE__, __func__, __LINE__, "Test failed.", desc, 1); \
10 } while (0)