From: Sebastian Harl Date: Sun, 19 Oct 2014 21:20:49 +0000 (+0200) Subject: data_test: Removed unnecessary and possibly misleading checks. X-Git-Tag: sysdb-0.6.0~95 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a4208bf034648dcc177be3de1b8ebfc89ac37725;p=sysdb.git data_test: Removed unnecessary and possibly misleading checks. --- diff --git a/t/unit/core/data_test.c b/t/unit/core/data_test.c index 9c736d3..702afa4 100644 --- a/t/unit/core/data_test.c +++ b/t/unit/core/data_test.c @@ -174,13 +174,6 @@ START_TEST(test_data) 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