This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Test-Simple syncup from Schwern.
[perl5.git] / lib / Test / Simple / t / missing.t
index 711dbb4..fd80c75 100644 (file)
@@ -21,9 +21,9 @@ package main;
 
 require Test::Simple;
 
-@INC = ('../lib', 'lib/Test/Simple');
-require Catch;
-my($out, $err) = Catch::caught();
+push @INC, 't/lib';
+require Test::Simple::Catch;
+my($out, $err) = Test::Simple::Catch::caught();
 
 Test::Simple->import(tests => 5);