diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-09-27 14:14:36 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-09-27 14:27:42 -0400 |
commit | 9ec9d6901d444af48555abf7b4c26d1965c46017 (patch) | |
tree | 3139a86f4dcffaea5d90c6120b8b1d25edbc07e6 /t/titlepage.t | |
parent | bfab23ce33c86f03bff6fb5c36f7bf082fe2cbcf (diff) | |
download | ikiwiki-9ec9d6901d444af48555abf7b4c26d1965c46017.tar ikiwiki-9ec9d6901d444af48555abf7b4c26d1965c46017.tar.gz |
Export pagetitle, titlepage, linkpage.
Diffstat (limited to 't/titlepage.t')
-rwxr-xr-x | t/titlepage.t | 12 |
1 files changed, 6 insertions, 6 deletions
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"); |