summaryrefslogtreecommitdiffstats
path: root/src/test/test-serialize.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test-serialize.c')
-rw-r--r--src/test/test-serialize.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/test/test-serialize.c b/src/test/test-serialize.c
index b70eb3daa7..9a16688a67 100644
--- a/src/test/test-serialize.c
+++ b/src/test/test-serialize.c
@@ -138,7 +138,7 @@ static void test_deserialize_environment(void) {
log_info("/* %s */", __func__);
- assert_se(env = strv_new("A=1", NULL));
+ assert_se(env = strv_new("A=1"));
assert_se(deserialize_environment("B=2", &env) >= 0);
assert_se(deserialize_environment("FOO%%=a\\177b\\nc\\td e", &env) >= 0);
@@ -162,8 +162,7 @@ static void test_serialize_environment(void) {
"B=2",
"C=ąęółń",
"D=D=a\\x0Ab",
- "FOO%%=a\177b\nc\td e",
- NULL));
+ "FOO%%=a\177b\nc\td e"));
assert_se(serialize_strv(f, "env", env) == 1);
assert_se(fflush_and_check(f) == 0);