You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-perl/PPI/files/PPI-1.224.0-t-marpa-dot-inc...

28 lines
670 B

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