summaryrefslogtreecommitdiff
blob: 2a02e1d71dc9b34b2cc49225caa0824a0c9bbee7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From 74e2e77fdce3e2f366342ad736c25e49379d2013 Mon Sep 17 00:00:00 2001
From: Kent Fredric <kentfredric@gmail.com>
Date: Tue, 20 Jun 2017 03:04:48 +1200
Subject: [PATCH] t/marpa.t: Fix test reliance on '.' in @INC

Fixes https://github.com/adamkennedy/PPI/issues/200
---
 t/marpa.t | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/t/marpa.t b/t/marpa.t
index a25fc2e..6e79003 100644
--- a/t/marpa.t
+++ b/t/marpa.t
@@ -2,7 +2,8 @@
 
 # Unit testing for PPI::Token::Unknown
 
-use t::lib::PPI::Test::pragmas;
+use lib 't/lib';
+use PPI::Test::pragmas;
 use Test::More tests => 23 + ( $ENV{AUTHOR_TESTING} ? 1 : 0 );
 use B 'perlstring';
 
-- 
2.13.1