anvil-editor: init at 0.4
[NixPkgs.git] / pkgs / applications / misc / ikiwiki / remove-markdown-tests.patch
blobbae63a10bf673fa2929c15b551c97b2ddd8b4284
1 diff --git a/t/mdwn.t b/t/mdwn.t
2 index 966aad2..2756173 100755
3 --- a/t/mdwn.t
4 +++ b/t/mdwn.t
5 @@ -22,30 +22,13 @@ foreach my $multimarkdown (qw(1 0)) {
6 "<p>C. S. Lewis wrote books</p>\n",
7 "alphalist off by default for multimarkdown = $multimarkdown");
9 - like(IkiWiki::htmlize("foo", "foo", "mdwn",
10 - "This works[^1]\n\n[^1]: Sometimes it doesn't.\n"),
11 - qr{<p>This works.*fnref:1.*},
12 - "footnotes on by default for multimarkdown = $multimarkdown");
14 $config{mdwn_footnotes} = 0;
15 unlike(IkiWiki::htmlize("foo", "foo", "mdwn",
16 "An unusual link label: [^1]\n\n[^1]: http://example.com/\n"),
17 qr{<p>An unusual link label: .*fnref:1.*},
18 "footnotes can be disabled for multimarkdown = $multimarkdown");
20 - $config{mdwn_footnotes} = 1;
21 - like(IkiWiki::htmlize("foo", "foo", "mdwn",
22 - "This works[^1]\n\n[^1]: Sometimes it doesn't.\n"),
23 - qr{<p>This works.*fnref:1.*},
24 - "footnotes can be enabled for multimarkdown = $multimarkdown");
27 -$config{mdwn_alpha_lists} = 1;
28 -like(IkiWiki::htmlize("foo", "foo", "mdwn",
29 - "A. One\n".
30 - "B. Two\n"),
31 - qr{<ol\W}, "alphalist can be enabled");
33 $config{mdwn_alpha_lists} = 0;
34 like(IkiWiki::htmlize("foo", "foo", "mdwn",
35 "A. One\n".