Skip to content

Commit

Permalink
Updated tests to fix lat/lng drift and updated travis versions
Browse files Browse the repository at this point in the history
  • Loading branch information
mattevans committed Jun 11, 2019
1 parent b95fa17 commit 4abb1d7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
sudo: false
language: go
go:
- 1.7.x
- 1.8.x
- 1.9.x
- 1.11.x
- tip
8 changes: 4 additions & 4 deletions abode_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ func TestExplodeUSAddress(t *testing.T) {
country := "United States"
countryCode := "US"
zip := "11216"
lat := 40.6706073
lng := -73.9530181
lat := 40.6706153
lng := -73.9530882
formatted := "193 Rogers Ave, Brooklyn, NY 11216, USA"

expected := &Address{
Expand Down Expand Up @@ -72,8 +72,8 @@ func TestExplodeInternationalAddress(t *testing.T) {
country := "New Zealand"
countryCode := "NZ"
zip := "2014"
lat := -36.8990935
lng := 174.9334766
lat := -36.8991018
lng := 174.9338525
formatted := "1/4 Abercrombie St, Howick, Auckland 2014, New Zealand"

expected := &Address{
Expand Down

0 comments on commit 4abb1d7

Please sign in to comment.