aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2015-01-06 00:23:33 +0000
committerSimon McVittie <smcv@debian.org>2015-01-06 00:28:18 +0000
commit4315581f31498c7c791fab2b251359c99533760f (patch)
tree4b15bcd22708b70ad0659316fbfe0e4daffbddbf /t
parentbca1f16385d72230f56a38b2105b6ab4e9783350 (diff)
downloadikiwiki-4315581f31498c7c791fab2b251359c99533760f.tar
ikiwiki-4315581f31498c7c791fab2b251359c99533760f.tar.gz
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.
Diffstat (limited to 't')
-rwxr-xr-xt/textile-double-escape-bug.t7
1 files changed, 5 insertions, 2 deletions
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{<p><a href="https://en.wikipedia.org/wiki/G&amp;ouml;del,_Escher,_Bach">G&ouml;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&amp;ouml;del,_Escher,_Bach">G&ouml;del, Escher, Bach</a></p>});
+ }
};