diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2017-02-15 23:27:00 +0100 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2017-02-15 23:27:00 +0100 |
commit | 1d790b8c78a2925a788e7167ed8d9d52d8e23906 (patch) | |
tree | 23d71719ef39dcf0257cdaa2be51898a31749217 /tests/blogc/check_content_parser.c | |
parent | bc23293bb178b6abcafa0f67d432cbff6ac3c861 (diff) | |
download | blogc-1d790b8c78a2925a788e7167ed8d9d52d8e23906.tar.gz blogc-1d790b8c78a2925a788e7167ed8d9d52d8e23906.tar.bz2 blogc-1d790b8c78a2925a788e7167ed8d9d52d8e23906.zip |
content-parser: source-parser: rename TITLE to FIRST_HEADER
Diffstat (limited to 'tests/blogc/check_content_parser.c')
-rw-r--r-- | tests/blogc/check_content_parser.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/blogc/check_content_parser.c b/tests/blogc/check_content_parser.c index 33e0c38..8797dc5 100644 --- a/tests/blogc/check_content_parser.c +++ b/tests/blogc/check_content_parser.c @@ -1162,7 +1162,7 @@ test_content_parse_ordered_list_crlf(void **state) static void -test_content_parse_title(void **state) +test_content_parse_first_header(void **state) { char *t = NULL; char *html = blogc_content_parse("# foo", NULL, &t, NULL); @@ -1240,7 +1240,7 @@ test_content_parse_title(void **state) static void -test_content_parse_title_crlf(void **state) +test_content_parse_first_header_crlf(void **state) { char *t = NULL; char *html = blogc_content_parse("# foo\r\n", NULL, &t, NULL); @@ -2355,8 +2355,8 @@ main(void) unit_test(test_content_parse_unordered_list_crlf), unit_test(test_content_parse_ordered_list), unit_test(test_content_parse_ordered_list_crlf), - unit_test(test_content_parse_title), - unit_test(test_content_parse_title_crlf), + unit_test(test_content_parse_first_header), + unit_test(test_content_parse_first_header_crlf), unit_test(test_content_parse_description), unit_test(test_content_parse_description_crlf), unit_test(test_content_parse_invalid_excerpt), |