X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Ftest%2Ftest-string-util.c;h=202af8bcc3356e327c5db1f01f8577b1b29824de;hb=8e3c2431d298404c67115ab9781e3f4e289a01cd;hp=a9e322f0cc3adefd890d483c03c17c787e1f3bca;hpb=fe9f813b914df4d0451f8e7b12eca0408db625bf;p=elogind.git diff --git a/src/test/test-string-util.c b/src/test/test-string-util.c index a9e322f0c..202af8bcc 100644 --- a/src/test/test-string-util.c +++ b/src/test/test-string-util.c @@ -384,7 +384,6 @@ static void test_endswith_no_case(void) { assert_se(!endswith_no_case("foobar", "FOOBARFOOFOO")); } -#if 0 /// UNNEEDED by elogind static void test_delete_chars(void) { char *s, input[] = " hello, waldo. abc"; @@ -392,7 +391,6 @@ static void test_delete_chars(void) { assert_se(streq(s, "hello,waldo.abc")); assert_se(s == input); } -#endif // 0 static void test_delete_trailing_chars(void) { @@ -526,9 +524,7 @@ int main(int argc, char *argv[]) { test_foreach_word_quoted(); test_endswith(); test_endswith_no_case(); -#if 0 /// UNNEEDED by elogind test_delete_chars(); -#endif // 0 test_delete_trailing_chars(); test_delete_trailing_slashes(); test_skip_leading_chars();