summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/diagnostics.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/diagnostics.t b/lib/diagnostics.t
index 486f8f6dd8..f30f70e073 100644
--- a/lib/diagnostics.t
+++ b/lib/diagnostics.t
@@ -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/);