From a4208bf034648dcc177be3de1b8ebfc89ac37725 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Sun, 19 Oct 2014 23:20:49 +0200 Subject: [PATCH] data_test: Removed unnecessary and possibly misleading checks. --- t/unit/core/data_test.c | 7 ------- 1 file changed, 7 deletions(-) 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 -- 2.30.2