Permalink
Browse files

Merge pull request #6 from zoffixznet/fix-inc

Fix failures due to @*INC no longer being in Perl 6
  • Loading branch information...
2 parents 16c4b1f + d3bac83 commit 86b93b6cd4d1089c6bb7193693994f524567da2f @Takadonet committed Dec 4, 2015
View
@@ -1,12 +1,7 @@
use v6;
use Test;
plan 275;
-BEGIN
-{
- @*INC.push('lib');
- @*INC.push('blib');
-}
-
+use lib <lib blib>;
eval-lives-ok 'use Tree::Simple', 'Can use Tree::Simple';
@@ -1,11 +1,7 @@
use v6;
use Test;
plan 46;
-BEGIN
-{
- @*INC.push('lib');
- @*INC.push('blib');
-}
+use lib <lib blib>;
## ----------------------------------------------------------------------------
@@ -1,11 +1,7 @@
use v6;
use Test;
plan 50;
-BEGIN
-{
- @*INC.push('lib');
- @*INC.push('blib');
-}
+use lib <lib blib>;
use Tree::Simple;
@@ -1,11 +1,7 @@
use v6;
use Test;
plan 48;
-BEGIN
-{
- @*INC.push('lib');
- @*INC.push('blib');
-}
+use lib <lib blib>;
use Tree::Simple;
@@ -1,12 +1,7 @@
use v6;
use Test;
plan 34;
-BEGIN
-{
- @*INC.push('lib');
- @*INC.push('blib');
-}
-
+use lib <lib blib>;
eval-lives-ok 'use Tree::Simple', 'Can use Tree::Simple';
@@ -1,12 +1,7 @@
use v6;
use Test;
plan 1;
-BEGIN
-{
- @*INC.push('lib');
- @*INC.push('blib');
-}
-
+use lib <lib blib>;
eval-lives-ok 'use Tree::Simple', 'Can use Tree::Simple';
@@ -1,11 +1,7 @@
use v6;
use Test;
plan 66;
-BEGIN
-{
- @*INC.push('lib');
- @*INC.push('blib');
-}
+use lib <lib blib>;
use Tree::Simple;
@@ -1,11 +1,7 @@
use v6;
use Test;
plan 76;
-BEGIN
-{
- @*INC.push('lib');
- @*INC.push('blib');
-}
+use lib <lib blib>;
use Tree::Simple;
@@ -1,11 +1,7 @@
use v6;
use Test;
plan 35;
-BEGIN
-{
- @*INC.push('lib');
- @*INC.push('blib');
-}
+use lib <lib blib>;
use Tree::Simple;
use Tree::Simple::Visitor;
View
@@ -1,11 +1,7 @@
use v6;
use Test;
plan 1;
-BEGIN
-{
- @*INC.push('lib');
- @*INC.push('blib');
-}
+use lib <lib blib>;
skip-rest('Do not have Test::Pod module');
View
@@ -1,11 +1,7 @@
use v6;
use Test;
plan 1;
-BEGIN
-{
- @*INC.push('lib');
- @*INC.push('blib');
-}
+use lib <lib blib>;
skip-rest('Do not have Test::Pod::Coverage module');
View
@@ -1,11 +1,7 @@
use v6;
use Test;
plan 1;
-BEGIN
-{
- @*INC.push('lib');
- @*INC.push('blib');
-}
+use lib <lib blib>;
use Tree::Simple;
use Tree::Simple::Visitor;

0 comments on commit 86b93b6

Please sign in to comment.