repo.or.cz
/
git
/
gitster.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'es/worktree-repair-copied' into cw/worktrees-relative
[git/gitster.git]
/
t
/
unit-tests
/
unit-test.h
blob
85e5d6a948acf9b3fffd90459f5e832238372a5f
1
#include
"git-compat-util.h"
2
#include
"clar/clar.h"
3
#include
"clar-decls.h"
4
#include
"strbuf.h"
5
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)