diff options
author | James Booth <boothj5@gmail.com> | 2012-05-13 23:06:01 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2012-05-13 23:06:01 +0100 |
commit | 6c9cbc446d405fb7d4a3df254f7c3edf6848e658 (patch) | |
tree | 9ca1753af4090ba5fd12abc921bf2b17726d3df3 /test_contact_list.c | |
parent | be964894c612929e7f74ff6765c29b7c780a6b82 (diff) | |
download | profani-tty-6c9cbc446d405fb7d4a3df254f7c3edf6848e658.tar.gz |
Changed contact list to use generic autocomplete
Diffstat (limited to 'test_contact_list.c')
-rw-r--r-- | test_contact_list.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test_contact_list.c b/test_contact_list.c index c6d0c684..599c8ca1 100644 --- a/test_contact_list.c +++ b/test_contact_list.c @@ -8,6 +8,11 @@ #include "contact.h" #include "contact_list.h" +static void setup(void) +{ + contact_list_init(); +} + static void beforetest(void) { contact_list_clear(); @@ -452,6 +457,7 @@ static void removed_contact_not_in_search(void) void register_contact_list_tests(void) { TEST_MODULE("contact_list tests"); + SETUP(setup); BEFORETEST(beforetest); AFTERTEST(aftertest); TEST(empty_list_when_none_added); |