diff options
Diffstat (limited to 't/21-iris-stations.t')
-rw-r--r-- | t/21-iris-stations.t | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/t/21-iris-stations.t b/t/21-iris-stations.t index c440fd0..b346525 100644 --- a/t/21-iris-stations.t +++ b/t/21-iris-stations.t @@ -2,6 +2,7 @@ use strict; use warnings; use 5.014; +use utf8; use Test::More tests => 11; @@ -59,10 +60,12 @@ is_deeply( is_deeply( [ - [ 'NKL', 'Kirchenlaibach' ], - [ 'KM', 'M\'gladbach Hbf' ], - [ 'XSRC', 'Reichenbach Kt' ] + [ 'EEBE', 'E-Bergeborbeck' ], + [ 'EEBB', 'E-Borbeck' ], + [ 'EEBS', 'E-Borbeck Süd' ], + [ 'EGAR', 'Garbeck' ], + [ 'EWBC', 'Wolbeck' ], ], - [ Travel::Status::DE::IRIS::Stations::get_station('Moenchengladbach Hbf') ], - 'get_station: partial match works (several results for very fuzzy match)' + [ Travel::Status::DE::IRIS::Stations::get_station('Borbeck') ], + 'get_station: partial match with substring and levenshtein' ); |