X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/10e26c0370abcc9afa83ff948092ea231d0ca6af..1239fa55d5d5b9ca81dbde0874f4ff8d1980429d:/t/file_pruned.t diff --git a/t/file_pruned.t b/t/file_pruned.t index 7d46c4b7f..f9c1c257e 100755 --- a/t/file_pruned.t +++ b/t/file_pruned.t @@ -1,14 +1,17 @@ #!/usr/bin/perl use warnings; use strict; -use Test::More tests => 24; +use Test::More tests => 27; BEGIN { use_ok("IkiWiki"); } %config=IkiWiki::defaultconfig(); +ok(IkiWiki::file_pruned("src/.htaccess", "src")); ok(IkiWiki::file_pruned("src/.ikiwiki/", "src")); ok(IkiWiki::file_pruned("src/.ikiwiki/index", "src")); +ok(IkiWiki::file_pruned("src/CVS/foo", "src")); +ok(IkiWiki::file_pruned("src/subdir/CVS/foo", "src")); ok(IkiWiki::file_pruned("src/.svn", "src")); ok(IkiWiki::file_pruned("src/subdir/.svn", "src")); ok(IkiWiki::file_pruned("src/subdir/.svn/foo", "src"));