ASSERT_STREQ for simple cases
This commit is contained in:
committed by
Daan De Meyer
parent
9506269d12
commit
c79e88b37d
@@ -214,7 +214,7 @@ int main(int argc, char *argv[]) {
|
||||
assert_se(manager_load_unit(m, "unit-with-multiple-dashes.service", NULL, NULL, &unit_with_multiple_dashes) >= 0);
|
||||
|
||||
assert_se(strv_equal(unit_with_multiple_dashes->documentation, STRV_MAKE("man:test", "man:override2", "man:override3")));
|
||||
assert_se(streq_ptr(unit_with_multiple_dashes->description, "override4"));
|
||||
ASSERT_STREQ(unit_with_multiple_dashes->description, "override4");
|
||||
|
||||
/* Now merge a synthetic unit into the existing one */
|
||||
assert_se(unit_new_for_name(m, sizeof(Service), "merged.service", &stub) >= 0);
|
||||
|
||||
Reference in New Issue
Block a user