incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Jaquith <andrew.r.jaqu...@gmail.com>
Subject Parsing fun
Date Mon, 12 Oct 2009 23:26:23 GMT
This is fairly amusing...

It turns out that one of the failing JSPWikiMarkupParser unit tests,  
testHyperlinks3, is failing because MarkupParser.cleanLink() isn't  
cleaning.

The link markup "hyperlink too" should result in "HyperlinkToo", no?  
It results instead in "Hyperlink too".

What's even more amusing is that MarkupParserTest doesn't even test  
for this type of (common?) whitespace condition. Clearly we need to  
test for this -- and I'll fix the bug too while I'm at it. :)

Andrew 

Mime
View raw message