From: Simon McVittie Date: Tue, 6 Jan 2015 00:23:33 +0000 (+0000) Subject: Turn positive test for wrong behaviour into a TODO test for right behaviour X-Git-Tag: 3.20150107~2 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/4315581f31498c7c791fab2b251359c99533760f 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. --- diff --git a/t/textile-double-escape-bug.t b/t/textile-double-escape-bug.t index fe73f331b..607706be4 100755 --- a/t/textile-double-escape-bug.t +++ b/t/textile-double-escape-bug.t @@ -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{

Gödel, Escher, Bach

}); + TODO: { + local $TODO = "Text::Textile double-escapes the href"; + is($txtl_html, $good); + isnt($txtl_html, q{

Gödel, Escher, Bach

}); + } };