chiark / gitweb /
conf-parser: remove redundant utf8-validity check
[elogind.git] / src / test / test-conf-parser.c
index b95aa7a22c43f86a458eb7abcaa95f7b2e8f0d1f..0e531bb217d8b2add78811fb92a49525fdc66693 100644 (file)
@@ -185,7 +185,7 @@ static void test_config_parse_strv(void) {
         test_config_parse_strv_one("foo bar foo", STRV_MAKE("foo", "bar", "foo"));
         test_config_parse_strv_one("\"foo bar\" foo", STRV_MAKE("foo bar", "foo"));
         test_config_parse_strv_one("\xc3\x80", STRV_MAKE("\xc3\x80"));
-        test_config_parse_strv_one("\xc3\x7f", STRV_MAKE_EMPTY);
+        test_config_parse_strv_one("\xc3\x7f", STRV_MAKE("\xc3\x7f"));
 }
 
 static void test_config_parse_mode(void) {