summaryrefslogtreecommitdiff
path: root/t/20-vrr.t
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-05-27 08:35:32 +0200
committerDaniel Friesel <derf@finalrewind.org>2015-05-27 08:35:32 +0200
commit843388f82ba323965e1bff926d785a60d45f5590 (patch)
tree70502c5657cd210f2b828f2d7d83e71b691cf731 /t/20-vrr.t
parent2cdd2e22c42385fd4ca2aa75569756ea17a601c4 (diff)
return a delay of undef when no delay information is available
Diffstat (limited to 't/20-vrr.t')
-rw-r--r--t/20-vrr.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/20-vrr.t b/t/20-vrr.t
index cc710f2..66f2fe6 100644
--- a/t/20-vrr.t
+++ b/t/20-vrr.t
@@ -43,7 +43,7 @@ is($results[3]->info, decode('UTF-8', 'Ab (H) Heißen Kirche, Umstieg in den SEV
is($results[3]->line, '18', 'fourth result: line ok');
is($results[3]->date, '16.11.2011', 'fourth result: real date ok');
is($results[3]->time, '09:39', 'fourth result: real time ok');
-is($results[3]->delay, 0, 'fourth result: delay 0');
+is($results[3]->delay, undef, 'fourth result: delay undef');
is($results[3]->sched_date, '16.11.2011', 'fourth result: scheduled date ok');
is($results[3]->sched_time, '09:39', 'fourth result: scheduled time ok');
#is($results[3]->platform, '2', 'fourth result: platform ok');