aboutsummaryrefslogtreecommitdiff
path: root/Converter/src/test.c
diff options
context:
space:
mode:
authordx <aryadevchavali1@gmail.com>2020-05-06 06:05:49 +0100
committerdx <aryadevchavali1@gmail.com>2020-05-06 06:05:49 +0100
commitefd866068fdee6daea6934792c9a722f290f11b2 (patch)
treeee414719c1088da2fe47162d44554873a2613642 /Converter/src/test.c
parent47b3e7b24dd820482ef29511b61fe08b74d7f8ee (diff)
downloadmdhtml-efd866068fdee6daea6934792c9a722f290f11b2.tar.gz
mdhtml-efd866068fdee6daea6934792c9a722f290f11b2.tar.bz2
mdhtml-efd866068fdee6daea6934792c9a722f290f11b2.zip
~propagating diagnostic refactor
Diffstat (limited to 'Converter/src/test.c')
-rw-r--r--Converter/src/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Converter/src/test.c b/Converter/src/test.c
index f56463c..d254194 100644
--- a/Converter/src/test.c
+++ b/Converter/src/test.c
@@ -17,7 +17,7 @@ void test_compile_line_header_depth(void)
const string expected_result = expected_results[i];
const int length_of_test = strnlen(test_string, 512);
const int length_of_expected = strnlen(expected_result, 512);
- const string test_result = compile_line(test_string, length_of_test);
+ const string test_result = compile_line(test_string, length_of_test + 1, "<test>");
fprintf(stderr, "Testing %s => %s\n", test_string, expected_result);
fprintf(stderr, "Result: %s\n\n", test_result);