This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
The base.pm changes need this, too?
authorJarkko Hietaniemi <jhi@iki.fi>
Wed, 8 May 2002 13:55:05 +0000 (13:55 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Wed, 8 May 2002 13:55:05 +0000 (13:55 +0000)
p4raw-id: //depot/perl@16490

lib/diagnostics.t

index 486f8f6..f30f70e 100644 (file)
@@ -15,4 +15,4 @@ eval {
     'base'->import(qw(I::do::not::exist));
 };
 
-is( $@, '',   'diagnostics not tripped up by "use base qw(Dont::Exist)"' );
+like( $@, qr/^Base class package "I::do::not::exist" is empty/);