diff options
Diffstat (limited to 'cpan/Test-Simple/t/undef.t')
-rw-r--r-- | cpan/Test-Simple/t/undef.t | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/cpan/Test-Simple/t/undef.t b/cpan/Test-Simple/t/undef.t index d560f8231c..2c8cace491 100644 --- a/cpan/Test-Simple/t/undef.t +++ b/cpan/Test-Simple/t/undef.t @@ -11,14 +11,7 @@ BEGIN { } use strict; -use Test::More; - -BEGIN { - require warnings; - if( eval "warnings->can('carp')" ) { - plan skip_all => 'Modern::Open is installed, which breaks this test'; - } -} +use Test::More tests => 21; BEGIN { $^W = 1; } @@ -43,7 +36,7 @@ sub warnings_like { my $Filename = quotemeta $0; - + is( undef, undef, 'undef is undef'); no_warnings; @@ -103,5 +96,3 @@ no_warnings; is_deeply([ undef ], [ undef ]); no_warnings; } - -done_testing; |