add another test
parent
9bee6db8c6
commit
5b67c54b22
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/perl
|
||||
use warnings;
|
||||
use strict;
|
||||
use Test::More tests => 7;
|
||||
use Test::More tests => 8;
|
||||
|
||||
BEGIN { use_ok("IkiWiki"); }
|
||||
|
||||
|
@ -12,5 +12,6 @@ is(IkiWiki::beautify_urlpath("../badger"), "../badger");
|
|||
is(IkiWiki::beautify_urlpath("./bleh"), "./bleh");
|
||||
is(IkiWiki::beautify_urlpath("foo/index.HTML"), "./foo/");
|
||||
is(IkiWiki::beautify_urlpath("index.HTML"), "./");
|
||||
is(IkiWiki::beautify_urlpath("../index.HTML"), "../");
|
||||
$IkiWiki::config{usedirs} = 0;
|
||||
is(IkiWiki::beautify_urlpath("foo/index.HTML"), "./foo/index.HTML");
|
||||
|
|
Loading…
Reference in New Issue