X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/e85f7e7aa9b9c297b6b5f266d811c935af8cbb9e..73953cbac95847740339d7a5ee3c0e5f142d93c5:/test/python/test_tokenizer_icu_name_processor.py diff --git a/test/python/test_tokenizer_icu_name_processor.py b/test/python/test_tokenizer_icu_name_processor.py index 553d25c5..cc103116 100644 --- a/test/python/test_tokenizer_icu_name_processor.py +++ b/test/python/test_tokenizer_icu_name_processor.py @@ -78,6 +78,8 @@ VARIANT_TESTS = [ (('river$ -> r',), "Bent River", {'bent river', 'bent r'}), (('^north => n',), "North 2nd Street", {'n 2nd street'}), (('^north => n',), "Airport North", {'airport north'}), +(('am -> a',), "am am am am am am am am", {'am am am am am am am am'}), +(('am => a',), "am am am am am am am am", {'a a a a a a a a'}) ] @pytest.mark.parametrize("rules,name,variants", VARIANT_TESTS)