summaryrefslogtreecommitdiff
path: root/t/lib/croak/pp_ctl
diff options
context:
space:
mode:
Diffstat (limited to 't/lib/croak/pp_ctl')
-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 de0221b57d..a63cbd7849 100644
--- a/t/lib/croak/pp_ctl
+++ b/t/lib/croak/pp_ctl
@@ -41,7 +41,7 @@ EXPECT
Can't find label foo at - line 3.
########
# NAME when outside given
-use 5.01; no warnings 'experimental::smartmatch';
+use 5.01; no warnings 'deprecated';
when(undef){}
EXPECT
Can't "when" outside a topicalizer at - line 2.