Merge branch 'blead' of git+ssh://perl5.git.perl.org/perl into blead
[p5sagit/p5-mst-13.2.git] / t / uni / tr_eucjp.t
index 03dec71..98c6845 100644 (file)
@@ -1,3 +1,4 @@
+#! perl -w
 #
 # $Id$
 #
@@ -5,10 +6,6 @@
 # -- dankogai
 
 BEGIN {
-    if ($ENV{'PERL_CORE'}){
-        chdir 't';
-        @INC = '../lib';
-    }
     require Config; import Config;
     if ($Config{'extensions'} !~ /\bEncode\b/) {
       print "1..0 # Skip: Encode was not built\n";
@@ -27,11 +24,11 @@ BEGIN {
         exit 0;
     }
     $| = 1;
+    require './test.pl';
 }
 
 use strict;
-use Test::More tests => 6;
-use Encode;
+plan(tests => 6);
 use encoding 'euc-jp';
 
 my @hiragana =  map {chr} ord("¤¡")..ord("¤ó");