Opening dirhandle DIR also as a file needs no warnings 'deprecated';
[p5sagit/p5-mst-13.2.git] / t / op / my_stash.t
index 5a13183..5f7d245 100644 (file)
@@ -3,12 +3,12 @@
 package Foo;
 
 BEGIN {
+    chdir 't' if -d 't';
     @INC = '../lib';
+    require './test.pl';
 }
 
-use Test;
-
-plan tests => 7;
+plan 7;
 
 use constant MyClass => 'Foo::Bar::Biz::Baz';