X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/3660b1c7a1757341024ceb267126ca63cd3c582a..e04cb1ffd39f64c7f3216dcd6b7a69308754bef0:/t/pagetitle.t?ds=inline diff --git a/t/pagetitle.t b/t/pagetitle.t index 37adba144..d9aa62063 100755 --- a/t/pagetitle.t +++ b/t/pagetitle.t @@ -5,9 +5,9 @@ use Test::More tests => 7; BEGIN { use_ok("IkiWiki"); } -is(IkiWiki::pagetitle("foo_bar"), "foo bar"); -is(IkiWiki::pagetitle("foo_bar_baz"), "foo bar baz"); -is(IkiWiki::pagetitle("foo_bar__33__baz"), "foo bar!baz"); -is(IkiWiki::pagetitle("foo_bar__1234__baz"), "foo barӒbaz"); -is(IkiWiki::pagetitle("foo_bar___33___baz"), "foo bar ! baz"); -is(IkiWiki::pagetitle("foo_bar___95___baz"), "foo bar _ baz"); +is(pagetitle("foo_bar"), "foo bar"); +is(pagetitle("foo_bar_baz"), "foo bar baz"); +is(pagetitle("foo_bar__33__baz"), "foo bar!baz"); +is(pagetitle("foo_bar__1234__baz"), "foo barӒbaz"); +is(pagetitle("foo_bar___33___baz"), "foo bar ! baz"); +is(pagetitle("foo_bar___95___baz"), "foo bar _ baz");