Skip to content

Commit dad140e

Browse files
committed
moved test dists to corpus dir to avoid them being picked up by recursive testers
1 parent 17b4650 commit dad140e

File tree

130 files changed

+6
-6
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

130 files changed

+6
-6
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
local: t/mini
1+
local: corpus/mini
22
remote: http://cpan.perl.org
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
local: t/mini_whois
1+
local: corpus/mini_whois
22
remote: http://cpan.perl.org
3-
cache_dir: t/mini_whois/cache/cache
3+
cache_dir: corpus/mini_whois/cache/cache
44
full_text: 1
55
side_bar: 1
66
base_url: http://example.com/
File renamed without changes.
File renamed without changes.

t/simple.t

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ use CPAN::Mini::Webserver;
99
use lib 't/lib';
1010
use WebserverTester;
1111

12-
my $server = setup_test_minicpan( "t/mini" );
12+
my $server = setup_test_minicpan( "corpus/mini" );
1313

1414
my $name =
1515
( $server->author_type eq 'Whois' )

t/whois.t

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ use Path::Class 'dir';
1010
use lib 't/lib';
1111
use WebserverTester qw( setup_test_minicpan html_page_ok );
1212

13-
my $server = setup_test_minicpan( "t/mini_whois" );
14-
is( $server->scratch, dir( qw( t mini_whois cache cache _scratch ) ), "cache dir set via config" );
13+
my $server = setup_test_minicpan( "corpus/mini_whois" );
14+
is( $server->scratch, dir( qw( corpus mini_whois cache cache _scratch ) ), "cache dir set via config" );
1515
ok $server->index->search_word( "functionality" ), "searching for a word returns a package";
1616

1717
my $result = html_page_ok( "/search/", q => "functionality" );

0 commit comments

Comments
 (0)