Skip to content

Commit

Permalink
more AU tweaking, test case
Browse files Browse the repository at this point in the history
  • Loading branch information
freyfogle committed Oct 5, 2023
1 parent cbd25b7 commit ec201de
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion conf/countries/worldwide.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ generic13: &generic13 |
{{{attention}}}
{{{house}}}
{{{house_number}}} {{{road}}}
{{#first}} {{{suburb}}} || {{{city}}} || {{{town}}} || {{{state_district}}} || {{{village}}} || {{{hamlet}}} || {{{region}}} {{/first}} {{#first}} {{{state_code}}} || {{{state}}} {{/first}} {{{postcode}}}
{{#first}} {{{suburb}}} || {{{city_district}}} || {{{city}}} || {{{town}}} || {{{state_district}}} || {{{village}}} || {{{hamlet}}} || {{{region}}} {{/first}} {{#first}} {{{state_code}}} || {{{state}}} {{/first}} {{{postcode}}}
{{{country}}}

# postcode and state
Expand Down
15 changes: 15 additions & 0 deletions testcases/countries/au.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,18 @@ components:
expected: |
LASCELLES VIC 3487
Australia
#
# city_district and postcode
#
---
description: postcode and city_district
components:
city_district: Lascelles
country: Australia
country_code: au
municipality: Shire of Yarriambiack
postcode: 3487
state: VICTORIA
expected: |
Lascelles VIC 3487
Australia

0 comments on commit ec201de

Please sign in to comment.