X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fcomp%2Frequire.t;h=d06834a3c56081382e27e5c0a5586ec255a5e370;hb=6b845e562be40aac749b544b6d494078c54de4aa;hp=72f11d8260f1501c14aa2095fb86c9a3909df292;hpb=d20ea72b0d7be0a5efab755cf190bf1d51ef2d59;p=p5sagit%2Fp5-mst-13.2.git diff --git a/t/comp/require.t b/t/comp/require.t index 72f11d8..d06834a 100755 --- a/t/comp/require.t +++ b/t/comp/require.t @@ -183,7 +183,7 @@ $foo = eval {require bleah}; delete $INC{"bleah.pm"}; ++$::i; my $r = "threads"; eval { require $r }; $i++; -if($@ =~ /Directory .*threads not allowed in require/) { +if($@ =~ /Can't locate threads in \@INC/) { print "ok $i\n"; } else { print "not ok $i\n";