summaryrefslogtreecommitdiffstats
path: root/t/try/when.t
diff options
context:
space:
mode:
Diffstat (limited to 't/try/when.t')
-rw-r--r--t/try/when.t2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/try/when.t b/t/try/when.t
index 60322b7..6a0c075 100644
--- a/t/try/when.t
+++ b/t/try/when.t
@@ -5,6 +5,8 @@ use Test::More;
use lib 't/try/lib';
use 5.014;
+no if $] >= 5.018, warnings => 'experimental::smartmatch';
+
use Try;
my ( $foo, $bar, $other );