From: Sebastian Harl Date: Tue, 7 Oct 2014 19:11:34 +0000 (+0200) Subject: data_test: Fixed a typo. X-Git-Tag: sysdb-0.6.0~135 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9ed08af40d7230af36741e473b9cef0091c0efa5;p=sysdb.git data_test: Fixed a typo. --- diff --git a/t/unit/core/data_test.c b/t/unit/core/data_test.c index 88765a4..9d52d22 100644 --- a/t/unit/core/data_test.c +++ b/t/unit/core/data_test.c @@ -114,7 +114,7 @@ START_TEST(test_data) 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, @@ -136,7 +136,7 @@ START_TEST(test_data) 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,