Skip to content

Commit

Permalink
Bump Devel::Cover from 1.23 to 1.25
Browse files Browse the repository at this point in the history
Hoping this resolves the failure on TravisCI (Perl v 5.26)
  • Loading branch information
lancew committed Jul 21, 2017
1 parent 46054f0 commit be89911
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ before_install:

install:
- cpanm --quiet --installdeps --notest .
- cpanm --quiet --notest Devel::Cover@1.23
- cpanm --quiet --notest Devel::Cover@1.25
- cpanm --quiet --notest Devel::Cover::Report::Coveralls

script:
Expand Down
5 changes: 3 additions & 2 deletions t/02-failure_cases.t
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@ my $host = $sshd->uri->host;
my $port = $sshd->uri->port;
my $bad_port = $port + 1;

ok my $ssh1 = Net::SSH::Perl::WithSocks->new( $host, port => $port, ), "Able to create a Net::SSH::Perl::WithSocks object with valid host/port ($host:$port)";
my $ssh;
ok $ssh = Net::SSH::Perl::WithSocks->new( $host, port => $port, ), "Able to create a Net::SSH::Perl::WithSocks object with valid host/port ($host:$port)";

like(
exception {
my $ssh2
$ssh
= Net::SSH::Perl::WithSocks->new( $host, port => $bad_port, );
},
qr/Can't connect to $host, port $bad_port/,
Expand Down

0 comments on commit be89911

Please sign in to comment.