aboutsummaryrefslogtreecommitdiffstats
path: root/t/unit-tests/clar/example/example.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-09-29 11:40:33 -0700
committerJunio C Hamano <gitster@pobox.com>2025-09-29 11:40:33 -0700
commit347af012dba8794d003e4ae061131e3b7acdd558 (patch)
treef8f0df3271d2bca9c0d98af150e114e75cca35a1 /t/unit-tests/clar/example/example.c
parentThe twelfth batch (diff)
parentt/unit-tests: update to 10e96bc (diff)
downloadgit-347af012dba8794d003e4ae061131e3b7acdd558.tar.gz
git-347af012dba8794d003e4ae061131e3b7acdd558.zip
Merge branch 'ps/clar-updates'
Import a newer version of the clar unit testing framework. * ps/clar-updates: t/unit-tests: update to 10e96bc t/unit-tests: update clar to fcbed04
Diffstat (limited to 't/unit-tests/clar/example/example.c')
-rw-r--r--t/unit-tests/clar/example/example.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/t/unit-tests/clar/example/example.c b/t/unit-tests/clar/example/example.c
new file mode 100644
index 0000000000..c07d6bf68e
--- /dev/null
+++ b/t/unit-tests/clar/example/example.c
@@ -0,0 +1,6 @@
+#include "clar.h"
+
+void test_example__simple_assert(void)
+{
+ cl_assert_equal_i(1, 1);
+}