Turn positive test for wrong behaviour into a TODO test for right behaviour
We don't want ikiwiki's tests to stop passing when Text::Textile is fixed.master
parent
bca1f16385
commit
4315581f31
|
@ -25,6 +25,9 @@ subtest 'Text::Textile apparently double-escapes HTML entities in hrefs' => sub
|
|||
chomp(my $txtl_html = IkiWiki::Plugin::textile::htmlize(
|
||||
content => qq{"$text":$href},
|
||||
));
|
||||
isnt($txtl_html, $good);
|
||||
is($txtl_html, q{<p><a href="https://en.wikipedia.org/wiki/G&ouml;del,_Escher,_Bach">Gödel, Escher, Bach</a></p>});
|
||||
TODO: {
|
||||
local $TODO = "Text::Textile double-escapes the href";
|
||||
is($txtl_html, $good);
|
||||
isnt($txtl_html, q{<p><a href="https://en.wikipedia.org/wiki/G&ouml;del,_Escher,_Bach">Gödel, Escher, Bach</a></p>});
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue