summaryrefslogtreecommitdiff
path: root/t/lib
diff options
context:
space:
mode:
authorZefram <zefram@fysh.org>2017-11-29 23:33:33 +0000
committerZefram <zefram@fysh.org>2017-11-29 23:33:33 +0000
commit40b0df696c4f45c9e0e43ec2121b53bc06a586db (patch)
tree8a45e544c9c0eff5d9c95ff4029a9f4afb657737 /t/lib
parentb1a6328e96a123f6ca713df406f01c2f4a2f2b7b (diff)
downloadperl-40b0df696c4f45c9e0e43ec2121b53bc06a586db.tar.gz
make "outside a loop" error messages consistent
The message for leaving a "when" block outside a loop had different wording from the message for performing "next" et al outside a loop. Make the "when" message consistent with the existing loop control ones.
Diffstat (limited to 't/lib')
-rw-r--r--t/lib/croak/pp_ctl2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/lib/croak/pp_ctl b/t/lib/croak/pp_ctl
index 09332551ef..35c833925e 100644
--- a/t/lib/croak/pp_ctl
+++ b/t/lib/croak/pp_ctl
@@ -10,4 +10,4 @@ Can't find label foo at - line 3.
use 5.01; no warnings 'experimental::smartmatch';
when(!defined){}
EXPECT
-Can't leave "when" outside a loop at - line 2.
+Can't leave "when" outside a loop block at - line 2.