From 662ed6fa63ef56619adcbddf9a39cf87116a5ae8 Mon Sep 17 00:00:00 2001 From: missinglink Date: Thu, 19 Mar 2020 18:48:37 +0100 Subject: [PATCH] test(de): add additional seperable street suffix tests --- test/address.deu.test.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/test/address.deu.test.js b/test/address.deu.test.js index 6cd2e14a..8d74f194 100644 --- a/test/address.deu.test.js +++ b/test/address.deu.test.js @@ -27,6 +27,15 @@ const testcase = (test, common) => { { locality: 'Munich' }, { country: 'Germany' } ]) + assert('Königsallee Düsseldorf', [ + { street: 'Königsallee' }, + { locality: 'Düsseldorf' } + ]) + + assert('Rathausplatz', [{ street: 'Rathausplatz' }]) + assert('Plutoweg', [{ street: 'Plutoweg' }]) + assert('Dorfstrasse', [{ street: 'Dorfstrasse' }]) + // autocomplete-style query includes partial postcode assert('Eberswalder Straße 100 104', [ { street: 'Eberswalder Straße' }, { housenumber: '100' }