diff options
author | Sven Eden <yamakuzure@gmx.net> | 2018-08-14 18:39:33 +0200 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2018-08-24 16:47:08 +0200 |
commit | 1a7523a8c73ff91109c459da6f0af2fd3585e1e7 (patch) | |
tree | 0de40838449f2e1b051669c1360f5b7f959e20fc /src/test/test-string-util.c | |
parent | 5df5d72136c7c0b4a45a76463cb3441404f29cb4 (diff) |
Prep v239: Add missing updates that evaded migration.
Diffstat (limited to 'src/test/test-string-util.c')
-rw-r--r-- | src/test/test-string-util.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/test/test-string-util.c b/src/test/test-string-util.c index 7860499b7..47032729e 100644 --- a/src/test/test-string-util.c +++ b/src/test/test-string-util.c @@ -431,7 +431,6 @@ static void test_delete_trailing_slashes(void) { assert_se(streq(delete_trailing_chars(s4, "/"), "")); } -#if 0 /// UNNEEDED by elogind static void test_skip_leading_chars(void) { char input1[] = " \n \r k \n \r ", input2[] = "kkkkthiskkkiskkkaktestkkk", @@ -443,7 +442,6 @@ static void test_skip_leading_chars(void) { assert_se(streq(skip_leading_chars(input3, WHITESPACE), "abcdef")); assert_se(streq(skip_leading_chars(input3, "bcaef"), "def")); } -#endif // 0 static void test_in_charset(void) { assert_se(in_charset("dddaaabbbcccc", "abcd")); @@ -533,9 +531,7 @@ int main(int argc, char *argv[]) { #endif // 0 test_delete_trailing_chars(); test_delete_trailing_slashes(); -#if 0 /// UNNEEDED by elogind test_skip_leading_chars(); -#endif // 0 test_in_charset(); test_split_pair(); test_first_word(); |