Skip to content

Commit 8444a0c

Browse files
RossetowRossetow
andauthored
Add comma between street name and house number for Brazil addresses (#139)
Co-authored-by: Rossetow <[email protected]>
1 parent c8e526d commit 8444a0c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

conf/countries/worldwide.yaml

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

testcases/countries/br.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ components:
5353
suburb: Catete
5454
expected: |
5555
Condomínio Condomínio René Magritte
56-
Rua Silveira Martins 68
56+
Rua Silveira Martins, 68
5757
Catete
5858
Rio de Janeiro - RJ
5959
22221-000
@@ -89,7 +89,7 @@ components:
8989
country_code: br
9090
country: Brazil
9191
expected: |
92-
Av. dos Holandeses 9, Quadra 33
92+
Av. dos Holandeses, 9, Quadra 33
9393
Calhau
9494
São Luís - MA
9595
65071-380

0 commit comments

Comments
 (0)