From f7e865a979b4a6bfc7965d481d6719a8c5f0c37d Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Sat, 11 Jan 2020 02:33:07 +0100 Subject: [PATCH] Backend: Make fmt Signed-off-by: Michael Mayer --- internal/maps/location_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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()) })