summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 99e629d)
raw | patch | inline | side by side (parent: 99e629d)
author | Sebastian Harl <sh@tokkee.org> | |
Tue, 7 Oct 2014 19:11:34 +0000 (21:11 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Tue, 7 Oct 2014 19:11:34 +0000 (21:11 +0200) |
t/unit/core/data_test.c | patch | blob | history |
index 88765a47f6176c126eb39858de023f15c926f394..9d52d2279f2622fdf845999a9de5bc0a22fa3b0a 100644 (file)
--- a/t/unit/core/data_test.c
+++ b/t/unit/core/data_test.c
fail_unless(!memcmp(d1.data.binary.datum, d2.data.binary.datum,
d2.data.binary.length),
"sdb_data_copy() didn't copy binary data: got: %s; expected: %s",
- d1.data.string, d2.data.string);
+ d1.data.binary.datum, d2.data.binary.datum);
sdb_data_free_datum(&d1);
fail_unless(d1.data.binary.length == 0,
d1.data.binary.length, d2.data.binary.length);
fail_unless(d1.data.binary.datum == d2.data.binary.datum,
"sdb_data_copy() didn't copy binary data: got: %s; expected: %s",
- d1.data.string, d2.data.string);
+ d1.data.binary.datum, d2.data.binary.datum);
sdb_data_free_datum(&d1);
fail_unless(d1.data.binary.length == 0,