summaryrefslogtreecommitdiff
path: root/include/git2/common.h
diff options
context:
space:
mode:
authorschu <schu-github@schulog.org>2011-10-30 13:48:00 +0100
committerschu <schu-github@schulog.org>2011-10-30 13:48:00 +0100
commitec9079443c874fe1711acefb22b3fc606484c786 (patch)
treeee42e9446cf8200097611d2b20e31467cf8e8c9e /include/git2/common.h
parentd3104fa0a3f3711729b45346e475354440d46cc3 (diff)
downloadlibgit2-ec9079443c874fe1711acefb22b3fc606484c786.tar.gz
test_helpers: do not rely on assert
The functions loose_object_mode and loose_object_dir_mode call stat inside an assert statement which isn't evaluated when compiling in Release mode (NDEBUG) and leads to failing tests. Replace it. Signed-off-by: schu <schu-github@schulog.org>
Diffstat (limited to 'include/git2/common.h')
0 files changed, 0 insertions, 0 deletions