Merge common and util
This commit is contained in:
@@ -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);
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user