diff options
author | Paul "LeoNerd" Evans <leonerd@leonerd.org.uk> | 2022-03-08 16:48:16 +0000 |
---|---|---|
committer | Paul Evans <leonerd@leonerd.org.uk> | 2022-03-08 20:21:42 +0000 |
commit | 7fd94585290b7c489f0886aa211d244510917d65 (patch) | |
tree | 0909cb5a8b4ec222bfc0928f7440bd958ba3217a /t/lib | |
parent | 4c58833d2762c61be37bd341dccda5f8d7ad8e6e (diff) | |
download | perl-7fd94585290b7c489f0886aa211d244510917d65.tar.gz |
Move sort's scalar context warning to new 'scalar' category
Diffstat (limited to 't/lib')
-rw-r--r-- | t/lib/warnings/op | 4 |
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. |