diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2024-07-03 10:19:49 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2024-07-03 10:19:49 +0200 |
commit | 8dc8048d2cd4996825470bbfcb1e09e2a2630035 (patch) | |
tree | 9804282102f8c40d27407b9c94119b35eeb5013c /app/bin/unittest/shortentest.c | |
parent | c9d0740841fbe0539e42e66d3865672bfcd3ac02 (diff) | |
parent | b6bd52cd7330a90fc0e44dbe6022551a8dd768a1 (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'app/bin/unittest/shortentest.c')
-rw-r--r-- | app/bin/unittest/shortentest.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/bin/unittest/shortentest.c b/app/bin/unittest/shortentest.c index 4d24b84..9288017 100644 --- a/app/bin/unittest/shortentest.c +++ b/app/bin/unittest/shortentest.c @@ -111,7 +111,7 @@ static void EllipsizeText(void **state) EllipsizeString(LONGSTRING, result, strlen(LONGSTRING)); assert_string_equal(result, LONGSTRING); - EllipsizeString(LONGSTRING, result, 40); + EllipsizeString(LONGSTRING, result, 40); assert_string_equal(result, "The strrchr() function in C/C++..."); EllipsizeString(LONGSTRING, result, 23); @@ -138,7 +138,7 @@ static void LongText(void **state) int main(void) { - const struct CMUnitTest tests[] = { + const struct CMUnitTest tests[] = { cmocka_unit_test(NoRemoveBlanks), cmocka_unit_test(RemoveMultipleBlanks), cmocka_unit_test(RemoveTabs), @@ -147,6 +147,6 @@ int main(void) cmocka_unit_test(NoEllipsizeText), cmocka_unit_test(EllipsizeText), cmocka_unit_test(LongText), - }; - return cmocka_run_group_tests(tests, NULL, NULL); + }; + return cmocka_run_group_tests(tests, NULL, NULL); }
\ No newline at end of file |