summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4b8c128)
raw | patch | inline | side by side (parent: 4b8c128)
author | Florian Forster <octo@collectd.org> | |
Mon, 30 Nov 2015 10:45:51 +0000 (11:45 +0100) | ||
committer | Florian Forster <octo@collectd.org> | |
Mon, 30 Nov 2015 10:45:51 +0000 (11:45 +0100) |
src/ceph_test.c | patch | blob | history |
diff --git a/src/ceph_test.c b/src/ceph_test.c
index ffe2c7f6955fbb38afc53034b79722526e67cf1a..d6c72316485c3aa0f3c8b1b629c14686115bfe70 100644 (file)
--- a/src/ceph_test.c
+++ b/src/ceph_test.c
{
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;