mbox series

[0/2] t/unit-tests: convert hash tests to use clar

Message ID 20250107091932.126673-1-kuforiji98@gmail.com (mailing list archive)
Headers show
Series t/unit-tests: convert hash tests to use clar | expand

Message

Seyi Chamber Jan. 7, 2025, 9:19 a.m. UTC
Hello,

This small patch series transitions the existing unit test file t-hash.c
to the Clar testing framework. This change is part of our ongoing effort
to standardize our testing approach and enhance maintainability.

Thanks
Seyi

Mentored-by: Patrick Steinhardt ps@pks.im
Signed-off-by: Seyi Kuforiji kuforiji98@gmail.com

Seyi Kuforiji (2):
  t/unit-tests: match functions signature with trailing code
  t/unit-tests: convert hash to use clar test framework

 Makefile                            |  2 +-
 t/meson.build                       |  2 +-
 t/unit-tests/generate-clar-decls.sh |  2 +-
 t/unit-tests/t-hash.c               | 84 ----------------------------
 t/unit-tests/u-hash.c               | 85 +++++++++++++++++++++++++++++
 5 files changed, 88 insertions(+), 87 deletions(-)
 delete mode 100644 t/unit-tests/t-hash.c
 create mode 100644 t/unit-tests/u-hash.c