From de49316a14f16000968b2c12a61304afaf731072 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Sat, 13 Dec 2008 12:08:05 +0000 Subject: Killed the test for setting non-existing variables since I killed support for them as well. Thanks to cedk@gentoo.org for noticing (Bug #448). Also including chat.o when building the tests to fix linking issues. --- tests/check_set.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'tests/check_set.c') diff --git a/tests/check_set.c b/tests/check_set.c index b1ea973d..29e3c8c8 100644 --- a/tests/check_set.c +++ b/tests/check_set.c @@ -95,13 +95,6 @@ START_TEST(test_setstr) fail_unless(strcmp(set_getstr(&s, "name"), "bloe") == 0); END_TEST -START_TEST(test_setstr_implicit) - void *data = "data"; - set_t *s = NULL, *t; - set_setstr(&s, "name", "bloe"); - fail_unless(set_find(&s, "name") != NULL); -END_TEST - START_TEST(test_set_get_int_unknown) set_t *s = NULL; fail_unless(set_getint(&s, "foo") == 0); @@ -125,6 +118,5 @@ Suite *set_suite (void) tcase_add_test (tc_core, test_set_get_int_unknown); tcase_add_test (tc_core, test_setint); tcase_add_test (tc_core, test_setstr); - tcase_add_test (tc_core, test_setstr_implicit); return s; } -- cgit v1.2.3