Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix @inc for newer perls
  • Loading branch information
zoffixznet committed Jul 29, 2018
1 parent 4c03426 commit c22c885
Show file tree
Hide file tree
Showing 11 changed files with 23 additions and 11 deletions.
3 changes: 2 additions & 1 deletion t/01-models/01-build-stats.t
Expand Up @@ -2,7 +2,8 @@

use strict;
use warnings FATAL => 'all';

use FindBin;
use lib "$FindBin::Bin/../../";
use File::Temp;
use Test::Most;
use t::Helper;
Expand Down
3 changes: 2 additions & 1 deletion t/01-models/02-dists.t
Expand Up @@ -2,7 +2,8 @@

use strict;
use warnings FATAL => 'all';

use FindBin;
use lib "$FindBin::Bin/../../";
use File::Temp;
use Test::Most;
use t::Helper;
Expand Down
3 changes: 2 additions & 1 deletion t/01-models/03-site-tips.t
Expand Up @@ -2,7 +2,8 @@

use strict;
use warnings FATAL => 'all';

use FindBin;
use lib "$FindBin::Bin/../../";
use Test::Most;
use t::Helper;

Expand Down
5 changes: 3 additions & 2 deletions t/02-db-builder/01-logger.t
Expand Up @@ -2,7 +2,8 @@

use strict;
use warnings FATAL => 'all';

use FindBin;
use lib "$FindBin::Bin/../../";
use t::Helper;
use Test::Most;
use Test::Output qw/combined_from/;
Expand Down Expand Up @@ -31,4 +32,4 @@ dies_ok { log foobar => 'dies'; } 'dies on non-existent log level';
throws_ok { eval "log info => 'foo', 'bar'"; $@ and die; }
qr/Too many arguments/, 'prototype catches screw ups';

done_testing;
done_testing;
2 changes: 2 additions & 0 deletions t/02-db-builder/02-github-source-and-source-base-class.t
Expand Up @@ -2,6 +2,8 @@

use strict;
use warnings FATAL => 'all';
use FindBin;
use lib "$FindBin::Bin/../../";
use utf8;
use File::Spec::Functions qw/catfile/;
use Test::Most;
Expand Down
3 changes: 2 additions & 1 deletion t/02-db-builder/03-dist-source-errors.t
Expand Up @@ -2,7 +2,8 @@

use strict;
use warnings FATAL => 'all';

use FindBin;
use lib "$FindBin::Bin/../../";
use Pithub;
use Test::Most;
use Test::Output qw/combined_from/;
Expand Down
3 changes: 2 additions & 1 deletion t/02-db-builder/04-dist.t
Expand Up @@ -2,7 +2,8 @@

use strict;
use warnings FATAL => 'all';

use FindBin;
use lib "$FindBin::Bin/../../";
use Pithub;
use Test::Most;
use Test::Output qw/combined_from/;
Expand Down
3 changes: 2 additions & 1 deletion t/02-db-builder/05-build-project-list.pl.t
Expand Up @@ -2,7 +2,8 @@

use strict;
use warnings FATAL => 'all';

use FindBin;
use lib "$FindBin::Bin/../../";
use File::Temp qw/tempdir/;
use Mojo::Util qw/spurt trim/;
use Test::Most;
Expand Down
3 changes: 2 additions & 1 deletion t/02-db-builder/06-postprocessor-travis.t
Expand Up @@ -2,7 +2,8 @@

use strict;
use warnings FATAL => 'all';

use FindBin;
use lib "$FindBin::Bin/../../";
use Test::Most;
use Test::Output qw/combined_from/;
use t::Helper;
Expand Down
3 changes: 2 additions & 1 deletion t/02-db-builder/07-db-builder.pm.t
Expand Up @@ -2,7 +2,8 @@

use strict;
use warnings FATAL => 'all';

use FindBin;
use lib "$FindBin::Bin/../../";
use Mojo::Util qw/spurt trim/;
use Test::Most;
use Test::Output qw/combined_from/;
Expand Down
3 changes: 2 additions & 1 deletion t/02-db-builder/08-postprocessor-base.t
Expand Up @@ -2,7 +2,8 @@

use strict;
use warnings FATAL => 'all';

use FindBin;
use lib "$FindBin::Bin/../../";
use Test::Most;
BEGIN { use_ok 'ModulesPerl6::DbBuilder::Dist::PostProcessor' };

Expand Down

0 comments on commit c22c885

Please sign in to comment.