summaryrefslogtreecommitdiff
path: root/t/20-iris-class.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/20-iris-class.t
parent281f534570991487787e12cd7d2b081a835c4d97 (diff)
Support ->lookbehind for delayed trains from previous hours
Diffstat (limited to 't/20-iris-class.t')
-rw-r--r--t/20-iris-class.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/20-iris-class.t b/t/20-iris-class.t
index ba3882b..8ec50ef 100644
--- a/t/20-iris-class.t
+++ b/t/20-iris-class.t
@@ -21,7 +21,8 @@ my $status = Travel::Status::DE::IRIS->new(
hour => 20,
minute => 1,
time_zone => 'Europe/Berlin',
- )
+ ),
+ lookahead => 3 * 60 + 59,
);
isa_ok( $status, 'Travel::Status::DE::IRIS' );