diff options
Diffstat (limited to 't')
-rw-r--r-- | t/20-iris-class.t | 2 | ||||
-rw-r--r-- | t/31-result-basics.t | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/t/20-iris-class.t b/t/20-iris-class.t index a861909..65a2d60 100644 --- a/t/20-iris-class.t +++ b/t/20-iris-class.t @@ -4,7 +4,7 @@ use warnings; use 5.014; use DateTime; -use Test::More tests => 266; +use Test::More tests => 268; BEGIN { use_ok('Travel::Status::DE::IRIS'); diff --git a/t/31-result-basics.t b/t/31-result-basics.t index c7210a4..4468a53 100644 --- a/t/31-result-basics.t +++ b/t/31-result-basics.t @@ -5,7 +5,7 @@ use 5.014; use utf8; use DateTime; -use Test::More tests => 429; +use Test::More tests => 432; use Test::Fatal; use Travel::Status::DE::IRIS; @@ -26,7 +26,7 @@ my $status = Travel::Status::DE::IRIS->new( my @results = $status->results; -is(@results, 131, 'got 131 results'); +is(scalar @results, 132, 'got 132 results'); my $ice645 = $results[0]; my $s1 = $results[1]; @@ -113,4 +113,4 @@ $status = Travel::Status::DE::IRIS->new( @results = $status->results; -is(@results, 0, 'lookahead 0 -> no results'); +is(scalar @results, 10, 'lookahead 0 -> only overdue results'); |