summaryrefslogtreecommitdiff
path: root/t/31-result-basics.t
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2017-01-28 18:50:54 +0100
committerDaniel Friesel <derf@finalrewind.org>2017-01-28 18:50:54 +0100
commitc6b1f38efbc1029ee54ea396c300a2e62f6607c1 (patch)
tree913279582fc11e33a292f68b5aef18a8dc1c9eea /t/31-result-basics.t
parent281f534570991487787e12cd7d2b081a835c4d97 (diff)
Support ->lookbehind for delayed trains from previous hours
Diffstat (limited to 't/31-result-basics.t')
-rw-r--r--t/31-result-basics.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/31-result-basics.t b/t/31-result-basics.t
index f88fa6f..ac2b23d 100644
--- a/t/31-result-basics.t
+++ b/t/31-result-basics.t
@@ -20,7 +20,8 @@ my $status = Travel::Status::DE::IRIS->new(
hour => 20,
minute => 1,
time_zone => 'Europe/Berlin'
- )
+ ),
+ lookahead => 3 * 60 + 59,
);
my @results = $status->results;