Root Zanli
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
usr
/
share
/
doc
/
perl-Test-Simple
/
t
/
Legacy
/
Regression
/
Filename :
870-experimental-warnings.t
back
Copy
use strict; use warnings; use Test2::Tools::Tiny; BEGIN { skip_all "Only testing on 5.18+" if $] < 5.018 } require Test::More; *cmp_ok = \&Test::More::cmp_ok; no warnings "experimental::smartmatch"; my $warnings = warnings { cmp_ok(1, "~~", 1) }; ok(!@$warnings, "Did not get any warnings"); done_testing;