Skip to content

Commit 8e3bb90

Browse files
committed
Eliminates unneeded dependencies, also refs #5
1 parent d497567 commit 8e3bb90

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

t/030-sub-directories.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ my $content = q:to/PODEND/;
1919
for <sub-dir-1 sub-dir-2 sub-dir-3> -> $d {
2020
my $dir = DOC ~ "/$d";
2121
mkdir IO::Path.new( $dir );
22-
ok( $dir.IO ~~ :d ); # Checks that the directories are created
22+
ok( $dir.IO ~~ :d, "Directory $d created correctly" ); # Checks that the directories are created
2323
("$dir/a-file-$_.pod6").IO.spurt($content) for 1..4;
2424
ok( "$dir/a-file-1.pod6".IO ~~ :f, "1 files created correctly" );
2525
}

t/040-pod-extraction.t

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
use lib 'lib';
22
use Test;
33
use Test::Output;
4-
use File::Directory::Tree;
54
use Pod::To::Cached;
65

76
constant REP = 't/tmp/ref';
@@ -56,4 +55,4 @@ lives-ok { $cache .=new(:path( REP )) }, 'Gets a frozen cache without source';
5655
throws-like { $cache.update-cache }, Exception, :message(/ 'Cannot update frozen cache'/), 'No updating on a frozen cache';
5756

5857
#--MARKER-- Test 11
59-
throws-like {$cache.pod('xxxyyyzz') }, Exception, :message(/ 'Source name 「xxxyyyzz」 not in cache'/), 'Cannot get POD for invalid source name';
58+
throws-like {$cache.pod('xxxyyyzz') }, Exception, :message(/ 'Source name 「xxxyyyzz」 not in cache'/), 'Cannot get POD for invalid source name';

0 commit comments

Comments
 (0)