diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2020-06-05 08:42:38 +0100 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2020-06-05 08:49:07 +0100 |
commit | cad7a1bad40c302fef02306708f6ce6279680cb4 (patch) | |
tree | bd0a157bfa20c9a3c7ccf7f9d3058944732d8145 /tests/object/tree/write.c | |
parent | f7250cc36a77e45c5a46c911548b6bd23b613411 (diff) | |
download | libgit2-ethomson/clar_tap.tar.gz |
clar: include the function nameethomson/clar_tap
Diffstat (limited to 'tests/object/tree/write.c')
-rw-r--r-- | tests/object/tree/write.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/object/tree/write.c b/tests/object/tree/write.c index 7b0b8caca..1bc5a50a0 100644 --- a/tests/object/tree/write.c +++ b/tests/object/tree/write.c @@ -453,7 +453,8 @@ static void test_invalid_objects(bool should_allow_invalid) git_oid valid_blob_id, invalid_blob_id, valid_tree_id, invalid_tree_id; #define assert_allowed(expr) \ - clar__assert(!(expr) == should_allow_invalid, __FILE__, __LINE__, \ + clar__assert(!(expr) == should_allow_invalid, \ + __FILE__, __func__, __LINE__, \ (should_allow_invalid ? \ "Expected function call to succeed: " #expr : \ "Expected function call to fail: " #expr), \ |