Skip to content

Commit dd38161

Browse files
committedDec 6, 2015
Merge pull request raku-community-modules#32 from zoffixznet/fix-inc
Remove mentions of @*INC, which no longer exists in Perl 6
2 parents 5a4bb50 + 66dc328 commit dd38161

8 files changed

+9
-9
lines changed
 

‎t/emitter.t

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env perl6
22

3-
#BEGIN { @*INC.unshift: './lib'; }
3+
#use lib 'lib';
44

55
use Test;
66
use XML;

‎t/example.t

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env perl6
22

3-
#BEGIN { @*INC.unshift: './lib'; }
3+
#use lib 'lib';
44

55
use XML;
66
use Test;

‎t/namespaces.t

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env perl6
22

3-
#BEGIN { @*INC.unshift: './lib'; }
3+
#use lib 'lib';
44

55
use Test;
66
use XML;
@@ -69,4 +69,4 @@ my $nesteduri = '/my/nested/namespace';
6969

7070
@items = $xml.root.elements(:URI($nesteduri), :RECURSE(1), :NEST(1));
7171

72-
is @items.elems, 2, 'elements(:URI) returns the correct count.';
72+
is @items.elems, 2, 'elements(:URI) returns the correct count.';

‎t/parser.t

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env perl6
22

3-
#BEGIN { @*INC.unshift: './lib'; }
3+
#use lib 'lib';
44

55
use Test;
66
use XML;

‎t/preamble.t

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env perl6
22

3-
#BEGIN { @*INC.unshift: './lib'; }
3+
#use lib 'lib';
44

55
use Test;
66
use XML;

‎t/proxies.t

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env perl6
22

3-
#BEGIN { @*INC.unshift: './lib'; }
3+
#use lib 'lib';
44

55
use Test;
66
use XML;

‎t/query-methods.t

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env perl6
22

3-
#BEGIN { @*INC.unshift: './lib'; }
3+
#use lib 'lib';
44

55
use Test;
66
use XML;

‎t/query-positional.t

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env perl6
22

3-
#BEGIN { @*INC.unshift: './lib'; }
3+
#use lib 'lib';
44

55
use Test;
66
use XML;

0 commit comments

Comments
 (0)
Please sign in to comment.