This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
One quick fix to the test for differences in error output.
[perl5.git] / lib / Pod / t / Usage.t
index d970d91..343a0a7 100644 (file)
@@ -36,7 +36,7 @@ SKIP: {
         pod2usage({ -verbose => 0, -exit => 'noexit', 
                     -output => \*FAKEOUT, -input => $file });
     };
-    like( $@, qr/^Can't open $file for reading:/, 
+    like( $@, qr/^Can't open $file:/, 
           'File not found without -pathlist' );
 
     eval {