Loading t/21-iris-stations.t +7 −1 Original line number Original line Diff line number Diff line Loading @@ -4,7 +4,7 @@ use warnings; use 5.014; use 5.014; use utf8; use utf8; use Test::More tests => 11; use Test::More tests => 12; BEGIN { BEGIN { use_ok('Travel::Status::DE::IRIS::Stations'); use_ok('Travel::Status::DE::IRIS::Stations'); Loading Loading @@ -34,6 +34,12 @@ is_deeply( 'get_station: exact match by name is case insensitive' 'get_station: exact match by name is case insensitive' ); ); is_deeply( [ [ 'EESD', 'Essen Süd' ] ], [ Travel::Status::DE::IRIS::Stations::get_station('essen sued') ], 'get_station: exact match with normalization (1)' ); is_deeply( is_deeply( [ [ 'EEST', 'Essen-Steele' ] ], [ [ 'EEST', 'Essen-Steele' ] ], [ Travel::Status::DE::IRIS::Stations::get_station('Essen-Steele') ], [ Travel::Status::DE::IRIS::Stations::get_station('Essen-Steele') ], Loading Loading
t/21-iris-stations.t +7 −1 Original line number Original line Diff line number Diff line Loading @@ -4,7 +4,7 @@ use warnings; use 5.014; use 5.014; use utf8; use utf8; use Test::More tests => 11; use Test::More tests => 12; BEGIN { BEGIN { use_ok('Travel::Status::DE::IRIS::Stations'); use_ok('Travel::Status::DE::IRIS::Stations'); Loading Loading @@ -34,6 +34,12 @@ is_deeply( 'get_station: exact match by name is case insensitive' 'get_station: exact match by name is case insensitive' ); ); is_deeply( [ [ 'EESD', 'Essen Süd' ] ], [ Travel::Status::DE::IRIS::Stations::get_station('essen sued') ], 'get_station: exact match with normalization (1)' ); is_deeply( is_deeply( [ [ 'EEST', 'Essen-Steele' ] ], [ [ 'EEST', 'Essen-Steele' ] ], [ Travel::Status::DE::IRIS::Stations::get_station('Essen-Steele') ], [ Travel::Status::DE::IRIS::Stations::get_station('Essen-Steele') ], Loading