From 41d0cc72044244b630d12548b046996e5006eb3e Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Tue, 3 Jan 2023 12:39:38 +0100 Subject: Format: Run gofumpt --- internal/discovery/discovery_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'internal/discovery') diff --git a/internal/discovery/discovery_test.go b/internal/discovery/discovery_test.go index 8d16452..9d6b914 100644 --- a/internal/discovery/discovery_test.go +++ b/internal/discovery/discovery_test.go @@ -13,7 +13,7 @@ import ( ) // setupFileServer sets up a file server with a directory -func setupFileServer(t *testing.T, directory string) (*http.Server) { +func setupFileServer(t *testing.T, directory string) *http.Server { listener, err := net.Listen("tcp", ":0") if err != nil { t.Fatalf("Failed to setup discovery file server") @@ -197,7 +197,6 @@ func TestServerByCountryCode(t *testing.T) { // TestOrgByID tests the function for getting an organization by ID func TestOrgByID(t *testing.T) { - o1 := types.DiscoveryOrganization{OrgID: "a"} d := Discovery{ organizations: types.DiscoveryOrganizations{ -- cgit v1.2.3