diff --git a/internal/maps/location_test.go b/internal/maps/location_test.go index cb9599358..73a7166d8 100644 --- a/internal/maps/location_test.go +++ b/internal/maps/location_test.go @@ -349,7 +349,7 @@ func TestLocation_Source(t *testing.T) { func TestLocation_Place(t *testing.T) { t.Run("test-label", func(t *testing.T) { - l := &Location{LocCategory: "test", LocCountry: "de", LocCity: "Nürnberg", LocLabel: "test-label", LocState: "Bayern", LocName: "Christkindlesmarkt", } + l := &Location{LocCategory: "test", LocCountry: "de", LocCity: "Nürnberg", LocLabel: "test-label", LocState: "Bayern", LocName: "Christkindlesmarkt"} assert.Equal(t, "test-label", l.Label()) }) @@ -357,7 +357,7 @@ func TestLocation_Place(t *testing.T) { func TestLocation_CountryCode(t *testing.T) { t.Run("de", func(t *testing.T) { - l := &Location{LocCategory: "test", LocCountry: "de", LocCity: "Nürnberg", LocLabel: "test-label", LocState: "Bayern", LocName: "Christkindlesmarkt",} + l := &Location{LocCategory: "test", LocCountry: "de", LocCity: "Nürnberg", LocLabel: "test-label", LocState: "Bayern", LocName: "Christkindlesmarkt"} assert.Equal(t, "de", l.CountryCode()) }) @@ -365,7 +365,7 @@ func TestLocation_CountryCode(t *testing.T) { func TestLocation_CountryName(t *testing.T) { t.Run("Germany", func(t *testing.T) { - l := &Location{LocCategory: "test", LocCountry: "de", LocCity: "Nürnberg", LocLabel: "test-label", LocState: "Bayern", LocName: "Christkindlesmarkt", } + l := &Location{LocCategory: "test", LocCountry: "de", LocCity: "Nürnberg", LocLabel: "test-label", LocState: "Bayern", LocName: "Christkindlesmarkt"} assert.Equal(t, "Germany", l.CountryName()) })