Revert "Move Text::ParseWords from lib to ext"
[p5sagit/p5-mst-13.2.git] / lib / Text / ParseWords.t
similarity index 94%
rename from ext/Text-ParseWords/t/ParseWords.t
rename to lib/Text/ParseWords.t
index 905ea00..eeee6ee 100644 (file)
@@ -1,5 +1,12 @@
 #!./perl\r
 \r
+BEGIN {\r
+    if( $ENV{PERL_CORE} ) {\r
+        chdir 't' if -d 't';\r
+        @INC = '../lib';\r
+    }\r
+}\r
+\r
 use warnings;\r
 use Text::ParseWords;\r
 use Test::More tests => 27;\r