summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--t/21-iris-stations.t8
1 files changed, 7 insertions, 1 deletions
diff --git a/t/21-iris-stations.t b/t/21-iris-stations.t
index b346525..934a0a8 100644
--- a/t/21-iris-stations.t
+++ b/t/21-iris-stations.t
@@ -4,7 +4,7 @@ use warnings;
use 5.014;
use utf8;
-use Test::More tests => 11;
+use Test::More tests => 12;
BEGIN {
use_ok('Travel::Status::DE::IRIS::Stations');
@@ -35,6 +35,12 @@ is_deeply(
);
is_deeply(
+ [ [ 'EESD', 'Essen Süd' ] ],
+ [ Travel::Status::DE::IRIS::Stations::get_station('essen sued') ],
+ 'get_station: exact match with normalization (1)'
+);
+
+is_deeply(
[ [ 'EEST', 'Essen-Steele' ] ],
[ Travel::Status::DE::IRIS::Stations::get_station('Essen-Steele') ],
'get_station: exact match by name works by shortest prefix'