jgm / peg-markdown

An implementation of markdown in C, using a PEG grammar
Other
696 stars 140 forks source link

Ordered and unordered lists fails in `make test` #6

Closed ghost closed 13 years ago

ghost commented 13 years ago

Running make test end with the following output:

cd MarkdownTest_1.0.3; \
        ./MarkdownTest.pl --script=../markdown --tidy
Amps and angle encoding ... OK
Auto links ... OK
Backslash escapes ... OK
Blockquotes with code blocks ... OK
Code Blocks ... OK
Code Spans ... OK
Hard-wrapped paragraphs with list-like lines ... OK
Horizontal rules ... OK
Inline HTML (Advanced) ... OK
Inline HTML (Simple) ... OK
Inline HTML comments ... OK
Links, inline style ... OK
Links, reference style ... OK
Links, shortcut references ... OK
Literal quotes in titles ... OK
Markdown Documentation - Basics ... OK
Markdown Documentation - Syntax ... OK
Nested blockquotes ... OK
Ordered and unordered lists ... FAILED

138c138,139
< <li>Second:

---
> <li>
> <p>Second:</p>

Strong and em together ... OK
Tabs ... OK
Tidyness ... OK

21 passed; 1 failed.
Benchmark:  1 wallclock secs ( 0.00 usr  0.04 sys +  0.42 cusr  0.26 csys =  0.72 CPU)

Running Ubuntu 10.04.2 LTS.

Using source code straight from git pull.

jgm commented 13 years ago

This failure is expected and documented in the README.

+++ kherge [Jun 01 11 12:29 ]:

Running make test end with the following output:

cd MarkdownTest_1.0.3; \
        ./MarkdownTest.pl --script=../markdown --tidy
Amps and angle encoding ... OK
Auto links ... OK
Backslash escapes ... OK
Blockquotes with code blocks ... OK
Code Blocks ... OK
Code Spans ... OK
Hard-wrapped paragraphs with list-like lines ... OK
Horizontal rules ... OK
Inline HTML (Advanced) ... OK
Inline HTML (Simple) ... OK
Inline HTML comments ... OK
Links, inline style ... OK
Links, reference style ... OK
Links, shortcut references ... OK
Literal quotes in titles ... OK
Markdown Documentation - Basics ... OK
Markdown Documentation - Syntax ... OK
Nested blockquotes ... OK
Ordered and unordered lists ... FAILED

138c138,139
< <li>Second:
---
> <li>
> <p>Second:</p>

Strong and em together ... OK
Tabs ... OK
Tidyness ... OK

21 passed; 1 failed.
Benchmark:  1 wallclock secs ( 0.00 usr  0.04 sys +  0.42 cusr  0.26 csys =  0.72 CPU)

Running Ubuntu 10.04.2 LTS.

Using source code straight from git pull.

ghost commented 13 years ago

/facepalm