summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/pragma/warn/2use6
1 files changed, 2 insertions, 4 deletions
diff --git a/t/pragma/warn/2use b/t/pragma/warn/2use
index 384b3b361e..396f20142c 100644
--- a/t/pragma/warn/2use
+++ b/t/pragma/warn/2use
@@ -5,11 +5,9 @@ TODO
__END__
-# check illegal category is caught
-use warnings 'blah' ;
+# ignore unknown warning categories
+use warnings 'this-should-never-be-a-warning-category' ;
EXPECT
-unknown warning category 'blah' at - line 3
-BEGIN failed--compilation aborted at - line 3.
########
# Check compile time scope of pragma