Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 13 lines (10 sloc) 0.331 kb
use warnings;
use strict;
use Test::More tests => 6;
BEGIN { use_ok("IkiWiki"); }
is(IkiWiki::dirname("/home/joey/foo/bar"), "/home/joey/foo");
is(IkiWiki::dirname("./foo"), ".");
is(IkiWiki::dirname("baz"), "");
is(IkiWiki::dirname("/tmp/"), "/tmp/");
is(IkiWiki::dirname("/home/joey/foo/"), "/home/joey/foo/");
Jump to Line
Something went wrong with that request. Please try again.