diff options
| author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2015-07-09 21:36:01 -0300 | 
|---|---|---|
| committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2015-07-09 21:36:01 -0300 | 
| commit | 8aaa346994fe87ce0badfd3ac0c2ee302c86716c (patch) | |
| tree | 8e48f94aa054cdce11caf09e0517cec2b5f8d840 /tests | |
| parent | ad7d6cb83a242fe337e9ca2f69a9549f6abd0485 (diff) | |
| download | blogc-8aaa346994fe87ce0badfd3ac0c2ee302c86716c.tar.gz blogc-8aaa346994fe87ce0badfd3ac0c2ee302c86716c.tar.bz2 blogc-8aaa346994fe87ce0badfd3ac0c2ee302c86716c.zip | |
content-parser: fixed start_state bug.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/check_content_parser.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/tests/check_content_parser.c b/tests/check_content_parser.c index cb497cb..1eb2aa5 100644 --- a/tests/check_content_parser.c +++ b/tests/check_content_parser.c @@ -727,13 +727,13 @@ test_content_parse_inline(void **state)  {      char *html = blogc_content_parse_inline(          "**bola***asd* [ **lol** " -        "\\[asd\\]\\(qwe\\)](http://google.com) ``chunda`` [[bola]]"); +        "\\[asd\\]\\(qwe\\)](http://google.com) ``chunda`` [[bola]] chunda[9]");      assert_non_null(html);      assert_string_equal(html,          "<strong>bola</strong><em>asd</em> "          "<a href=\"http://google.com\"><img src=\"http://google.com/lol.png\" "          "alt=\"lol\"> <strong>lol</strong> [asd](qwe)</a> " -        "<code>chunda</code> <a href=\"bola\">bola</a>"); +        "<code>chunda</code> <a href=\"bola\">bola</a> chunda[9]");      free(html);      html = blogc_content_parse_inline("*bola*");      assert_non_null(html); | 
