Skip to content

Commit

Permalink
Explicitly depend on Test::Warnings 0.004
Browse files Browse the repository at this point in the history
  • Loading branch information
Leont committed Aug 9, 2013
1 parent e313b39 commit 3da576e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
Revision history for File-Map

{{$NEXT}}
Explicitly depend on Test::Warnings 0.004

0.58 2013-08-08 23:18:15 Europe/Amsterdam
Converted from Test::Exception to Test::Fatal
Expand Down
2 changes: 1 addition & 1 deletion t/10-empty.t
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use warnings;
use File::Map qw/:map lock_map sync/;
use IO::Handle;
use Test::More tests => 9;
use Test::Warnings qw/warning/;
use Test::Warnings 0.004 qw/warning/;
use Test::Fatal qw/lives_ok/;

open my $fh, '+<:raw', undef;
Expand Down
2 changes: 1 addition & 1 deletion t/20-errors.t
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use warnings;
use File::Map qw/:map lock_map sync advise/;
use IO::Socket::INET;
use Test::More tests => 27;
use Test::Warnings qw/warning warnings/;
use Test::Warnings 0.004 qw/warning warnings/;
use Test::Fatal qw/exception lives_ok dies_ok/;
use if $^O ne 'MSWin32', POSIX => qw/setlocale LC_ALL/;

Expand Down
2 changes: 1 addition & 1 deletion t/20-unicode.t
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use open qw/:std :utf8/;

use File::Map qw/map_anonymous map_handle map_file/;
use Test::More $] >= 5.008_008 ? (tests => 14) : (skip_all => 'File::Map doesn\'t reliably support unicode on 5.8.7 and lower');
use Test::Warnings qw/warning warnings/;
use Test::Warnings 0.004 qw/warning warnings/;

my $builder = Test::More->builder;
binmode $builder->output, ":utf8";
Expand Down

0 comments on commit 3da576e

Please sign in to comment.