From 6e06b3c54b1b317a9cf4fe97c8b473c97d2a2acb Mon Sep 17 00:00:00 2001 From: dx Date: Wed, 20 May 2020 15:34:35 +0100 Subject: ~test_compile* -> compile_line_header_depth Prefix 'test_' is useless and bloat --- Converter/includes/test.h | 2 +- Converter/src/main.c | 2 +- Converter/src/test.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Converter/includes/test.h b/Converter/includes/test.h index 8941ecd..f775af4 100644 --- a/Converter/includes/test.h +++ b/Converter/includes/test.h @@ -3,6 +3,6 @@ // Test methods to run -void test_compile_line_header_depth(void); +void compile_line_header_depth(void); #endif // __TEST_H_ diff --git a/Converter/src/main.c b/Converter/src/main.c index 7b64749..8d102f2 100644 --- a/Converter/src/main.c +++ b/Converter/src/main.c @@ -13,7 +13,7 @@ int main(int argc, char *argv[]) // run tests fputs("Running header test (how does compile_string handle # headers?)\n", stderr); - test_compile_line_header_depth(); + compile_line_header_depth(); } else { diff --git a/Converter/src/test.c b/Converter/src/test.c index 508a9f6..ca6bf95 100644 --- a/Converter/src/test.c +++ b/Converter/src/test.c @@ -3,7 +3,7 @@ #include #include -void test_compile_line_header_depth(void) +void compile_line_header_depth(void) { const int test_size = 5; string test_strings[] = {"Header", "#Header", "##Header", "#Header#", -- cgit v1.2.3-13-gbd6f