pre-commit: Include re-styled tests files to checks

This commit is contained in:
Jon Shallow authored and Jon Shallow committed 2023-07-08 16:37:59 +01:00
1 parent f2a03df9a0
commit e8005c5c27
14 files changed
+663 -567

No files matched your search

+4 -4
View File
@@ -242,10 +242,10 @@ t_init_encode_tests(void) {
if ((suite[1] = CU_add_suite("byte value encoder", NULL, NULL))) {
#define ENCODE_TEST(n,s) \
if (!CU_add_test(suite[1], s, t_encode##n)) { \
fprintf(stderr, "W: cannot add encoder test (%s)\n", \
CU_get_error_msg()); \
}
if (!CU_add_test(suite[1], s, t_encode##n)) { \
fprintf(stderr, "W: cannot add encoder test (%s)\n", \
CU_get_error_msg()); \
}
ENCODE_TEST(1, "encode value #1");
ENCODE_TEST(2, "encode value #2");