This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Get t/uni/labels.t working under minitest
[perl5.git] / t / uni / labels.t
index 3fa9d38..01b2f50 100644 (file)
@@ -4,8 +4,9 @@
 
 BEGIN {
     chdir 't' if -d 't';
-    @INC = '../lib';
     require './test.pl';
+    @INC = () unless is_miniperl();
+    unshift @INC, '../lib';
 }
 
 use utf8;