Skip to content

Commit f4dc8e4

Browse files
committed
add quarter to BR addresses, test - a first step to the work in PR #123
1 parent 4da0545 commit f4dc8e4

File tree

2 files changed

+20
-3
lines changed

2 files changed

+20
-3
lines changed

conf/countries/worldwide.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ BR:
441441
address_template: |
442442
{{{attention}}}
443443
{{{house}}}
444-
{{{road}}} {{{house_number}}}
444+
{{{road}}} {{{house_number}}}{{#first}}, {{{quarter}}}{{/first}}
445445
{{#first}} {{{suburb}}} || {{{city_district}}} || {{{village}}} || {{{hamlet}}}{{/first}}
446446
{{#first}} {{{city}}} || {{{town}}} || {{{state_district}}} {{/first}} - {{#first}} {{{state_code}}} || {{{state}}} {{/first}}
447447
{{{postcode}}}

testcases/countries/br.yaml

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,5 +75,22 @@ expected: |
7575
Região Geográfica Intermediária de Picos - PI
7676
64675-000
7777
Brazil
78-
79-
78+
---
79+
description: Maranhão [+quarter] / -2.493246,-44.267475
80+
components:
81+
road: Av. dos Holandeses
82+
house_number: 9
83+
quarter: Quadra 33
84+
suburb: Calhau
85+
city: São Luís
86+
state: Maranhão
87+
state_code: MA
88+
postcode: 65071-380
89+
country_code: br
90+
country: Brazil
91+
expected: |
92+
Av. dos Holandeses 9, Quadra 33
93+
Calhau
94+
São Luís - MA
95+
65071-380
96+
Brazil

0 commit comments

Comments
 (0)