summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--t/lib/warnings/perlio3
1 files changed, 1 insertions, 2 deletions
diff --git a/t/lib/warnings/perlio b/t/lib/warnings/perlio
index 5848668a4b..85aa5f2261 100644
--- a/t/lib/warnings/perlio
+++ b/t/lib/warnings/perlio
@@ -48,8 +48,7 @@ perlio: argument list not closed for layer "aa(" at - line 6.
# perlio [PerlIO_parse_layers]
no warnings 'layer';
open(F, ">:xyz", "bb");
-#use warnings 'layer';
-use warnings ;
+use warnings 'layer';
open(F, ">:xyz", "bb");
EXPECT
perlio: unknown layer "xyz".