summaryrefslogtreecommitdiff
blob: cc2f106182bbef76dac594cb7f76510173507880 (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
From 6b22ff73fac56cd405f021f5c9fd1cce6f62cff0 Mon Sep 17 00:00:00 2001
From: Kent Fredric <kentnl@gentoo.org>
Date: Tue, 24 Oct 2017 18:44:46 +1300
Subject: Fix tests for '.' in @INC

Bug: https://bugs.gentoo.org/616992
Bug: https://rt.cpan.org/Ticket/Display.html?id=121449
---
 MANIFEST                   | 2 +-
 t/04-subclass.t            | 1 +
 {My => t/lib/My}/Filter.pm | 0
 3 files changed, 2 insertions(+), 1 deletion(-)
 rename {My => t/lib/My}/Filter.pm (100%)

diff --git a/MANIFEST b/MANIFEST
index 2ef9813..ef6a569 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -3,7 +3,7 @@ Makefile.PL
 MANIFEST
 README
 TagFilter.pm
-My/Filter.pm
+t/lib/My/Filter.pm
 t/01-filter.t
 t/02-xss.t
 t/03-extension.t
diff --git a/t/04-subclass.t b/t/04-subclass.t
index ef2eb61..f8b3598 100644
--- a/t/04-subclass.t
+++ b/t/04-subclass.t
@@ -2,6 +2,7 @@ package main;
 
 use strict;
 use Test::More;
+use lib 't/lib';
 use My::Filter;
 
 BEGIN {
diff --git a/My/Filter.pm b/t/lib/My/Filter.pm
similarity index 100%
rename from My/Filter.pm
rename to t/lib/My/Filter.pm
-- 
2.14.2