summaryrefslogtreecommitdiff
path: root/t/31-result-basics.t
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-08-05 18:22:08 +0200
committerDaniel Friesel <derf@finalrewind.org>2018-08-05 18:22:08 +0200
commitdfc671161cc3829f3b84af04014b94ace621eb8e (patch)
tree68e3aae3d7d5413f1e7c087ebe42ee447cbcdd35 /t/31-result-basics.t
parent89151e8b3d22fbdc6ab417a3e7c445dc737e3bcd (diff)
Compare lookahead to scheduled and not realtime data
Diffstat (limited to 't/31-result-basics.t')
-rw-r--r--t/31-result-basics.t6
1 files changed, 3 insertions, 3 deletions
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');