X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fceph_test.c;h=acab179ed66c231b75f91ca6883c3e360756929a;hb=9c1acd10074995f6ec95eca6664c4bce4b7d7c1b;hp=ae67125fc881fe1f63c2e34a0317930b03564bb5;hpb=1fc00932fd49fa535551cc4bba09c4e4be059ab4;p=collectd.git diff --git a/src/ceph_test.c b/src/ceph_test.c index ae67125f..acab179e 100644 --- a/src/ceph_test.c +++ b/src/ceph_test.c @@ -170,11 +170,8 @@ DEF_TEST(parse_keys) { char got[DATA_MAX_NAME_LEN]; - memset (got, 0, sizeof (got)); - CHECK_ZERO (parse_keys (got, sizeof (got), cases[i].str)); - - CHECK_ZERO (strcmp (got, cases[i].want)); + EXPECT_EQ_STR (cases[i].want, got); } return 0;