summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6ff17f7)
raw | patch | inline | side by side (parent: 6ff17f7)
author | Sebastian Harl <sh@tokkee.org> | |
Sun, 22 Jun 2014 14:06:42 +0000 (16:06 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Sun, 22 Jun 2014 14:06:42 +0000 (16:06 +0200) |
t/unit/core/store_lookup_test.c | patch | blob | history |
index c3f3b514a17a0c279582e0c4c3b73bf3900808ee..5c3dc4866493e2caa0bfe2fc9a2254163aebae5b 100644 (file)
fail_unless(obj != NULL,
"sdb_store_get_host(a) = NULL; expected: <host>");
+ fail_unless(sdb_store_attr_matcher(NULL, "re", 0) == NULL,
+ "sdb_store_attr_matcher(NULL, \"re\", 0) = <m>; expected: NULL");
+ fail_unless(sdb_store_attr_matcher(NULL, "re", 1) == NULL,
+ "sdb_store_attr_matcher(NULL, \"re\", 1) = <m>; expected: NULL");
+
for (i = 0; i < SDB_STATIC_ARRAY_LEN(golden_data); ++i) {
sdb_store_matcher_t *m, *n;
char buf[1024];