summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-02-02 06:27:43 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-02-02 06:27:43 +0000
commit327afb7f88ad8e777feb1035abf13a2fc193c626 (patch)
tree916fcc7a43a6ceac75fc328a9effecf032e0485d /t
parentb9b446592491a9e83ac86f67237cd6509788def1 (diff)
downloadperl-327afb7f88ad8e777feb1035abf13a2fc193c626.tar.gz
future-proof unknown warning categories (from Greg Bacon
<gbacon@cs.uah.edu>) p4raw-id: //depot/perl@4947
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