aboutsummaryrefslogtreecommitdiffstats
path: root/tests/common/check_utf8.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/common/check_utf8.c')
-rw-r--r--tests/common/check_utf8.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/common/check_utf8.c b/tests/common/check_utf8.c
index 803818b..95e2eab 100644
--- a/tests/common/check_utf8.c
+++ b/tests/common/check_utf8.c
@@ -94,12 +94,12 @@ test_utf8_skip_bom(void **state)
int
main(void)
{
- const UnitTest tests[] = {
- unit_test(test_utf8_valid),
- unit_test(test_utf8_invalid),
- unit_test(test_utf8_valid_str),
- unit_test(test_utf8_invalid_str),
- unit_test(test_utf8_skip_bom),
+ const struct CMUnitTest tests[] = {
+ cmocka_unit_test(test_utf8_valid),
+ cmocka_unit_test(test_utf8_invalid),
+ cmocka_unit_test(test_utf8_valid_str),
+ cmocka_unit_test(test_utf8_invalid_str),
+ cmocka_unit_test(test_utf8_skip_bom),
};
- return run_tests(tests);
+ return cmocka_run_group_tests(tests, NULL, NULL);
}