diff options
author | Daniel Friesel <derf@finalrewind.org> | 2018-08-05 18:22:08 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2018-08-05 18:22:08 +0200 |
commit | dfc671161cc3829f3b84af04014b94ace621eb8e (patch) | |
tree | 68e3aae3d7d5413f1e7c087ebe42ee447cbcdd35 /t | |
parent | 89151e8b3d22fbdc6ab417a3e7c445dc737e3bcd (diff) |
Compare lookahead to scheduled and not realtime data
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'); |