]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/test/test-strbuf.c
util-lib: split our string related calls from util.[ch] into its own file string...
[thirdparty/systemd.git] / src / test / test-strbuf.c
index 43cb92b74b38874e3a19153e5dc147203c369e93..1d8eda0c15583122cc1221288db496cf70ecaebb 100644 (file)
@@ -23,6 +23,7 @@
 #include <string.h>
 
 #include "strbuf.h"
+#include "string-util.h"
 #include "strv.h"
 #include "util.h"
 
@@ -48,7 +49,7 @@ static void test_strbuf(void) {
         /* check the content of the buffer directly */
         l = strv_parse_nulstr(sb->buf, sb->len);
 
-        assert_se(streq(l[0], "")); /* root*/
+        assert_se(streq(l[0], "")); /* root */
         assert_se(streq(l[1], "waldo"));
         assert_se(streq(l[2], "foo"));
         assert_se(streq(l[3], "bar"));