Skip to content

Commit

Permalink
change position of test
Browse files Browse the repository at this point in the history
  • Loading branch information
pleplenier committed Nov 6, 2024
1 parent b6d5b08 commit 83eee48
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
9 changes: 7 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,16 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)

## [5.2.3] - 2024-11-04
## [5.3.0] - 2024-11-04

### Changed

- "Pacific Island" no longer matches Iceland.
- "Island" no longer matches Iceland when language is not set.

### Fixed

- "Pacific Island" no longer matches Iceland.

## [5.2.2] - 2024-08-23

- Detection for "moldavie" as "MD" in French.
Expand Down
6 changes: 3 additions & 3 deletions tests/test_countries.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,14 @@ class TestCountries:
("Heard Island", {}, "HM"), # en
("Norfolk Island", {}, "NF"), # en
("Solomon Islands", {}, "SB"), # en
# However, in cases where island is singular instead of plural,
# there can be confusion.
("Solomon Island Nationals", {}, None), # en
("Prince Edward Island", {}, "CA"), # en
("Rhode Island", {}, "US"), # en
("Pacific island", {}, None), # en
("Fiji/Pacific island", {}, "FJ"), # en
("island", {}, None), # en
# However, in cases where island is singular instead of plural,
# there can be confusion.
("Solomon Island Nationals", {}, None), # en
# Any capitalization for lang works
("Germany", {"lang": "en"}, "DE"),
("Germany", {"lang": "En"}, "DE"),
Expand Down

0 comments on commit 83eee48

Please sign in to comment.