From 5583505fb32d23a277c357f07340347ab4cd282a Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 1 Nov 2014 19:45:45 +0100 Subject: allow realtime ppth to override static ppth This way, if a train has so much delay that its scheduled data was not requested in the first place, it's still possible to compared its scheduled route with its actual route --- t/31-result-basics.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't') diff --git a/t/31-result-basics.t b/t/31-result-basics.t index 7f9423b..f88fa6f 100644 --- a/t/31-result-basics.t +++ b/t/31-result-basics.t @@ -53,7 +53,7 @@ is($ice645->raw_id, '1065350279715650378-1401031812-6', '->raw_id'); is($ice645->route_end, 'Berlin Ostbahnhof', '->routd_end'); is($ice645->route_start, 'Köln/Bonn Flughafen', '->routd_start'); is($ice645->sched_route_end, 'Berlin Ostbahnhof', '->sched_route_end'); -is($ice645->sched_route_start, 'Köln/Bonn Flughafen', '->sched_routd_start'); +is($ice645->sched_route_start, 'Köln/Bonn Flughafen', '->sched_route_start'); is($ice645->stop_no, 6, '->stop_no'); is($ice645->time, '19:23', '->time'); is($ice645->train, 'ICE 645', '->train'); -- cgit v1.2.3