X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/3660b1c7a1757341024ceb267126ca63cd3c582a..d6b8805caf4fcf3f306a35edf4a0304634cf16b0:/t/titlepage.t?ds=sidebyside diff --git a/t/titlepage.t b/t/titlepage.t index cc56db70c..5df33423e 100755 --- a/t/titlepage.t +++ b/t/titlepage.t @@ -5,9 +5,9 @@ use Test::More tests => 7; BEGIN { use_ok("IkiWiki"); } -is(IkiWiki::titlepage("foo bar"), "foo_bar"); -is(IkiWiki::titlepage("foo bar baz"), "foo_bar_baz"); -is(IkiWiki::titlepage("foo bar/baz"), "foo_bar/baz"); -is(IkiWiki::titlepage("foo bar&baz"), "foo_bar__38__baz"); -is(IkiWiki::titlepage("foo bar & baz"), "foo_bar___38___baz"); -is(IkiWiki::titlepage("foo bar_baz"), "foo_bar__95__baz"); +is(titlepage("foo bar"), "foo_bar"); +is(titlepage("foo bar baz"), "foo_bar_baz"); +is(titlepage("foo bar/baz"), "foo_bar/baz"); +is(titlepage("foo bar&baz"), "foo_bar__38__baz"); +is(titlepage("foo bar & baz"), "foo_bar___38___baz"); +is(titlepage("foo bar_baz"), "foo_bar__95__baz");