summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/lib/warnings/op4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/lib/warnings/op b/t/lib/warnings/op
index 1437093151..3e7cdc58b3 100644
--- a/t/lib/warnings/op
+++ b/t/lib/warnings/op
@@ -477,9 +477,9 @@ Useless use of __SUB__ in void context at - line 61.
Useless use of anonymous array ([]) in void context at - line 62.
########
# op.c
-use warnings 'void' ; close STDIN ;
+use warnings 'scalar' ; close STDIN ;
my $x = sort (2,1,3);
-no warnings 'void' ;
+no warnings 'scalar' ;
$x = sort (2,1,3);
EXPECT
Useless use of sort in scalar context at - line 3.