summaryrefslogtreecommitdiff
path: root/lib/diagnostics.t
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2009-09-08 08:41:38 +0200
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2009-09-08 11:27:21 +0200
commit7b903762ad0ebd5d0459692ad5c081c69a3c0808 (patch)
tree6e64cf76feca7527bf3a0b2ab962572023e5887e /lib/diagnostics.t
parenta34ce875bf70f00f7af4a549f8c1ff0f4469f7fb (diff)
downloadperl-7b903762ad0ebd5d0459692ad5c081c69a3c0808.tar.gz
Remove code specific to MacOS Classic from core tests
Diffstat (limited to 'lib/diagnostics.t')
-rw-r--r--lib/diagnostics.t9
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/diagnostics.t b/lib/diagnostics.t
index d9855a9fcc..f30f70e073 100644
--- a/lib/diagnostics.t
+++ b/lib/diagnostics.t
@@ -1,13 +1,8 @@
#!./perl
BEGIN {
- if ($^O eq 'MacOS') {
- chdir '::' if -d '::pod' && -d '::t';
- @INC = ':lib:';
- } else {
- chdir '..' if -d '../pod' && -d '../t';
- @INC = 'lib';
- }
+ chdir '..' if -d '../pod' && -d '../t';
+ @INC = 'lib';
}
use Test::More tests => 2;