Move Text::Balanced from lib to ext
[p5sagit/p5-mst-13.2.git] / lib / diagnostics.t
index f30f70e..d9855a9 100644 (file)
@@ -1,8 +1,13 @@
 #!./perl
 
 BEGIN {
-    chdir '..' if -d '../pod' && -d '../t';
-    @INC = 'lib';
+    if ($^O eq 'MacOS') {
+       chdir '::' if -d '::pod' && -d '::t';
+       @INC = ':lib:';
+    } else {
+       chdir '..' if -d '../pod' && -d '../t';
+       @INC = 'lib';
+    }
 }
 
 use Test::More tests => 2;