summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b60757c)
raw | patch | inline | side by side (parent: b60757c)
author | Sebastian Harl <sh@tokkee.org> | |
Sun, 19 Oct 2014 21:20:49 +0000 (23:20 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Sun, 19 Oct 2014 21:20:49 +0000 (23:20 +0200) |
t/unit/core/data_test.c | patch | blob | history |
index 9c736d399e291d12eb61c80ae0c3a83772393d2e..702afa487a0fa9aa7fbc31090f7d133f770ffe20 100644 (file)
--- a/t/unit/core/data_test.c
+++ b/t/unit/core/data_test.c
fail_unless(d1.type == d2.type,
"sdb_data_copy() didn't copy type; got: %i; expected: %i",
d1.type, d2.type);
- fail_unless(d1.data.re.raw == d2.data.re.raw,
- "sdb_data_copy() didn't copy raw regex: got: %s; expected: %s",
- d1.data.re.raw, d2.data.re.raw);
-
- sdb_data_free_datum(&d1);
- fail_unless(d1.data.re.raw == NULL,
- "sdb_data_free_datum() didn't reset raw regex");
}
END_TEST