aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Converter/includes/test.h2
-rw-r--r--Converter/src/main.c3
-rw-r--r--Converter/src/test.c2
3 files changed, 4 insertions, 3 deletions
diff --git a/Converter/includes/test.h b/Converter/includes/test.h
index 372e6e8..8941ecd 100644
--- a/Converter/includes/test.h
+++ b/Converter/includes/test.h
@@ -3,6 +3,6 @@
// Test methods to run
-void test_header_depths(void);
+void test_compile_line_header_depth(void);
#endif // __TEST_H_
diff --git a/Converter/src/main.c b/Converter/src/main.c
index 8d03c02..4e65cb0 100644
--- a/Converter/src/main.c
+++ b/Converter/src/main.c
@@ -11,7 +11,8 @@ int main(int argc, char *argv[])
if (strncmp(argv[1], "--test", 7) == 0)
{
// run tests
- test_header_depths();
+ fputs("Running header test (how does compile_string handle # headers?)\n", stderr);
+ test_compile_line_header_depth();
}
}
}
diff --git a/Converter/src/test.c b/Converter/src/test.c
index 82f8cd0..f56463c 100644
--- a/Converter/src/test.c
+++ b/Converter/src/test.c
@@ -3,7 +3,7 @@
#include <stdio.h>
#include <string.h>
-void test_header_depths(void)
+void test_compile_line_header_depth(void)
{
const int test_size = 5;
string test_strings[] = {"Header", "#Header", "##Header", "#Header#",