]> git.ipfire.org Git - thirdparty/git.git/commit
t/unit-tests: convert hash to use clar test framework
authorSeyi Kuforiji <kuforiji98@gmail.com>
Thu, 9 Jan 2025 14:09:52 +0000 (15:09 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 9 Jan 2025 15:55:00 +0000 (07:55 -0800)
commit43850dcf9c4ca6407abdd167aa3acc098e0e0f7c
tree00dcfd4354bb15b0dd19f5f0f67e3e2193880bca
parent14650065b76b28d3cfa9453356ac5669b19e706e
t/unit-tests: convert hash to use clar test framework

Adapt the hash test functions to clar framework by using clar
assertions where necessary. Following the consensus to convert
the unit-tests scripts found in the t/unit-tests folder to clar driven by
Patrick Steinhardt. Test functions are structured as a standalone to
test individual hash string and literal case.

Mentored-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Seyi Kuforiji <kuforiji98@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
t/meson.build
t/unit-tests/u-hash.c [moved from t/unit-tests/t-hash.c with 80% similarity]