Skip to content

Commit

Permalink
fix(data): update to 2018i data
Browse files Browse the repository at this point in the history
  • Loading branch information
evansiroky committed Jan 6, 2019
1 parent 5484bd1 commit bca405c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
Binary file modified data.zip
Binary file not shown.
5 changes: 4 additions & 1 deletion tests/find.test.js
Expand Up @@ -38,7 +38,10 @@ describe('find tests', function () {

describe('issue cases', function () {
issueCoords.forEach(function (spot) {
it('should find ' + spot.zid + ' (' + spot.description + ')', function () {
const spotDescription = spot.zids
? spot.zids.join(' and ')
: spot.zid
it('should find ' + spotDescription + ' (' + spot.description + ')', function () {
assertTzResultContainsTzs(spot.lat, spot.lon, spot.zid || spot.zids)
})
})
Expand Down
10 changes: 10 additions & 0 deletions tests/fixtures/issues.json
Expand Up @@ -109,5 +109,15 @@
"lat": 43.839319,
"lon": 87.526148,
"description": "#83 - 2018g update - test for overlapping territories (supersedes test for #72: 2017c update - New Chinese timezone geometry)"
}, {
"zid": "Asia/Qostanay",
"lat": 53.214465,
"lon": 63.632184,
"description": "#87 - 2018i - test for new zone Asia/Qostanay"
}, {
"zid": "Asia/Qyzylorda",
"lat": 44.843868,
"lon": 65.490184,
"description": "#87 - 2018i - test for zone Asia/Qyzylorda"
}
]

0 comments on commit bca405c

Please sign in to comment.