sirthias / pegdown

A pure-Java Markdown processor based on a parboiled PEG parser supporting a number of extensions
http://pegdown.org
Apache License 2.0
1.29k stars 217 forks source link

Tests for Parser.SpecialChar() and extension options #168

Open kevin-lee opened 9 years ago

kevin-lee commented 9 years ago

This pull request contains tests for Parser.SpecialChar() and extension options (It can detect bugs like #159 and #161).

Deraen commented 9 years ago

Instead of those formOptions and collectPairs, I think combinations could be used to generate extension option pairs.

kevin-lee commented 9 years ago

@Deraen You're right! :+1: I enjoyed it too much I guess. I'll fix it.

sirthias commented 9 years ago

If I merge this PR into the current master these new tests fail. Unfortunately I don't have the capacity to look into the cause of the problem. Can you help?

kevin-lee commented 9 years ago

@sirthias Oh! OK, that's good! I will. :smiley: Thank you!