diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2023-01-03 12:39:38 +0100 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2023-01-03 12:39:38 +0100 |
| commit | 41d0cc72044244b630d12548b046996e5006eb3e (patch) | |
| tree | 277f98a8ba35dfa7fb18017e7e36a75c21c1f7a5 /internal/discovery | |
| parent | 15a3a0b0ac8acabcdf7f9397eb53fb4c4b36a994 (diff) | |
Format: Run gofumpt
Diffstat (limited to 'internal/discovery')
| -rw-r--r-- | internal/discovery/discovery_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
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{ |
