Skip to content

Commit 041edd3

Browse files
committed
Add support for deprecated::smartmatch in Test-Simple
This patch must be sent upstream.
1 parent 89a2271 commit 041edd3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cpan/Test-Simple/t/Legacy/Regression/870-experimental-warnings.t

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ require Test::More;
88
*cmp_ok = \&Test::More::cmp_ok;
99

1010
no warnings "experimental::smartmatch";
11+
no if $] >= 5.037005, warnings => "deprecated::smartmatch";
1112

1213
my $warnings = warnings { cmp_ok(1, "~~", 1) };
1314

0 commit comments

Comments
 (0)