Skip to content

Commit

Permalink
test(de): add additional seperable street suffix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
missinglink committed Mar 19, 2020
1 parent 940f568 commit cc82ac7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/address.deu.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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' }
Expand Down

0 comments on commit cc82ac7

Please sign in to comment.