X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/3660b1c7a1757341024ceb267126ca63cd3c582a..f2b1a918b022863c6baf010bee3e57b5f08a794f:/t/titlepage.t?ds=inline 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");