]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - t/pagename.t
clarify that templates can contain wiki markup
[git.ikiwiki.info.git] / t / pagename.t
1 #!/usr/bin/perl
2 use warnings;
3 use strict;
4 use Test::More tests => 5;
6 BEGIN { use_ok("IkiWiki"); }
8 # Used internally.
9 $IkiWiki::hooks{htmlize}{mdwn}=1;
11 is(pagename("foo.mdwn"), "foo");
12 is(pagename("foo/bar.mdwn"), "foo/bar");
13 is(pagename("foo.png"), "foo.png");
14 is(pagename("foo"), "foo");