Skip to content

Commit

Permalink
install LWP::Protocol::https and fix xt/author/live/encoding.t
Browse files Browse the repository at this point in the history
  • Loading branch information
skaji committed Aug 1, 2019
1 parent a399877 commit 7b4ba79
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ env:
- RELEASE_TESTING=1
before_install:
- eval $(curl https://travis-perl.github.io/init) --auto --always-upgrade-modules
- cpanm Test::Memory::Cycle Test::Taint || true
- cpanm Test::Memory::Cycle Test::Taint LWP::Protocol::https || true
### __app_cisetup__
# ---
# force_threaded_perls: 0
Expand Down
6 changes: 3 additions & 3 deletions xt/author/live/encoding.t
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ use strict;
use warnings;

use constant PAIRS => {
'https://www.tripadvisor.com/' => 'utf-8',
'http://www.liveinternet.ru/users/dashdi/blog' => 'cp1251',
'https://www.tripadvisor.com/' => 'utf-8',
'https://www.liveinternet.ru/top/' => 'cp1251',
};

use Encode;
use Test::More;
use Test::Needs 'LWP::Protocol::https';
use Test::RequiresInternet(
'www.tripadvisor.com' => 443,
'www.liveinternet.ru' => 80
'www.liveinternet.ru' => 443
);
use WWW::Mechanize;

Expand Down

0 comments on commit 7b4ba79

Please sign in to comment.