diff options
author | James Booth <boothj5@gmail.com> | 2012-08-23 01:08:06 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2012-08-23 01:08:06 +0100 |
commit | 0fe70ce7d381ceb2b38cbb5ac9a99cbad95dec91 (patch) | |
tree | b7fcc14c626baaef350a59855ecb039b98252400 /tests | |
parent | 8b7975bdf3a01c57bcea554a5dbc32b5274ce636 (diff) | |
download | profani-tty-0fe70ce7d381ceb2b38cbb5ac9a99cbad95dec91.tar.gz |
Merge common and util
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_common.c (renamed from tests/test_util.c) | 6 | ||||
-rw-r--r-- | tests/testsuite.c | 2 | ||||
-rw-r--r-- | tests/testsuite.h | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/tests/test_util.c b/tests/test_common.c index ffe12506..6bdcfb76 100644 --- a/tests/test_util.c +++ b/tests/test_common.c @@ -1,7 +1,7 @@ #include <stdlib.h> #include <string.h> #include <head-unit.h> -#include "util.h" +#include "common.h" void replace_one_substr(void) { @@ -146,9 +146,9 @@ void replace_when_new_null(void) assert_string_equals("hello", result); } -void register_util_tests(void) +void register_common_tests(void) { - TEST_MODULE("util tests"); + TEST_MODULE("common tests"); TEST(replace_one_substr); TEST(replace_one_substr_beginning); TEST(replace_one_substr_end); diff --git a/tests/testsuite.c b/tests/testsuite.c index c3f164f9..e7a23005 100644 --- a/tests/testsuite.c +++ b/tests/testsuite.c @@ -5,7 +5,7 @@ int main(void) { register_prof_history_tests(); register_contact_list_tests(); - register_util_tests(); + register_common_tests(); register_prof_autocomplete_tests(); run_suite(); return 0; diff --git a/tests/testsuite.h b/tests/testsuite.h index f4bd9046..45145c9b 100644 --- a/tests/testsuite.h +++ b/tests/testsuite.h @@ -3,7 +3,7 @@ void register_prof_history_tests(void); void register_contact_list_tests(void); -void register_util_tests(void); +void register_common_tests(void); void register_prof_autocomplete_tests(void); #endif |