aboutsummaryrefslogtreecommitdiff
path: root/Converter
diff options
context:
space:
mode:
authordx <aryadevchavali1@gmail.com>2020-05-06 04:07:11 +0100
committerdx <aryadevchavali1@gmail.com>2020-05-06 04:07:11 +0100
commit0b5450d05c98701e02412b9cc712595d01518263 (patch)
tree488820950bd5a511395dbe726e91e56ee46cf48a /Converter
parentab7096fadb01cc3eb1a4d687ba5b4cbb326a0a8c (diff)
downloadmdhtml-0b5450d05c98701e02412b9cc712595d01518263.tar.gz
mdhtml-0b5450d05c98701e02412b9cc712595d01518263.tar.bz2
mdhtml-0b5450d05c98701e02412b9cc712595d01518263.zip
~test_header_depths -> test_compile_line_header_depths
Diffstat (limited to 'Converter')
-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#",