Le 2008-03-21 à 16:39, Tomas Doran a écrit :

So, the *only* things that Text::Markdown currently fails on are small whitespace changes..

Hum, have you written your own test script?

I encourage you to use the mdtest.php script if you have PHP 5 installed on your computer. It'll normalize the whitespace for you before comparing the output, ensuring that insignificant whitespace differences don't make any test fail. All you need is an executable you can invoke that will parse the standard input and put the result on the standard output and you can use MDTest like this:

    ./mdtest.php -n -s Markdown.pl

-n for normalize (and ignore insignificant whitespace), -s to tell mdtest to use the given script (such as Markdown.pl). You can add -d to see a diff for failing tests.


Michel Fortin
[EMAIL PROTECTED]
http://michelf.com/


_______________________________________________
Markdown-Discuss mailing list
[email protected]
http://six.pairlist.net/mailman/listinfo/markdown-discuss

Reply via email to