summaryrefslogtreecommitdiffstats
path: root/src/test/test-load-fragment.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test-load-fragment.c')
-rw-r--r--src/test/test-load-fragment.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-load-fragment.c b/src/test/test-load-fragment.c
index 68172be43e..9e5ae85597 100644
--- a/src/test/test-load-fragment.c
+++ b/src/test/test-load-fragment.c
@@ -803,7 +803,7 @@ TEST(config_parse_unit_env_file) {
"EnvironmentFile", 0, "not-absolute",
&files, u);
assert_se(r == 0);
- assert_se(strv_length(files) == 0);
+ assert_se(strv_isempty(files));
r = config_parse_unit_env_file(u->id, "fake", 1, "section", 1,
"EnvironmentFile", 0, "/absolute1",