diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2016-03-05 19:46:40 +0100 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2016-03-05 19:46:40 +0100 |
commit | 1645987e132d063847aa95c0693570b44bb2d7d5 (patch) | |
tree | b3a517661b1e377734d584158094647796dcc34d /tests | |
parent | de986bafd7d765e94059c0e88df93a352d85d7aa (diff) | |
download | blogc-1645987e132d063847aa95c0693570b44bb2d7d5.tar.gz blogc-1645987e132d063847aa95c0693570b44bb2d7d5.tar.bz2 blogc-1645987e132d063847aa95c0693570b44bb2d7d5.zip |
content-parser: fixed em/en-dash logic
Diffstat (limited to 'tests')
-rw-r--r-- | tests/check_content_parser.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/check_content_parser.c b/tests/check_content_parser.c index d9d2528..b20f8d0 100644 --- a/tests/check_content_parser.c +++ b/tests/check_content_parser.c @@ -157,10 +157,10 @@ test_content_parse(void **state) "<p>guda\n" "yay</p>\n" "<p><strong>bola</strong>\n" - "— foo-bar\n" - "– bar</p>\n" - "<p>— asd</p>\n" - "<p>– lol</p>\n"); + "– foo-bar\n" + "— bar</p>\n" + "<p>– asd</p>\n" + "<p>— lol</p>\n"); free(html); } @@ -245,10 +245,10 @@ test_content_parse_crlf(void **state) "<p>guda\r\n" "yay</p>\r\n" "<p><strong>bola</strong>\r\n" - "— foo-bar\r\n" - "– bar</p>\r\n" - "<p>— asd</p>\r\n" - "<p>– lol</p>\r\n"); + "– foo-bar\r\n" + "— bar</p>\r\n" + "<p>– asd</p>\r\n" + "<p>— lol</p>\r\n"); free(html); } |