diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2023-02-16 16:03:46 +0100 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2023-02-16 16:03:46 +0100 |
| commit | 57705feadd598c9a14df53b83161b8f020731bd6 (patch) | |
| tree | 0320e7739eca0c0afbe7087340d017413940c31e /internal/test | |
| parent | 0566c505b1462e47a9dc44d7b26534b41aca1c4f (diff) | |
Format: Run gofumpt
Diffstat (limited to 'internal/test')
| -rw-r--r-- | internal/test/handler.go | 2 | ||||
| -rw-r--r-- | internal/test/server.go | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/internal/test/handler.go b/internal/test/handler.go index 5c02629..3991c6a 100644 --- a/internal/test/handler.go +++ b/internal/test/handler.go @@ -7,7 +7,7 @@ import ( // HandlerSet is a struct with a mutex that allows us to swap handlers while a test server is running type HandlerSet struct { - mu sync.Mutex + mu sync.Mutex handler http.Handler } diff --git a/internal/test/server.go b/internal/test/server.go index e020d69..841b565 100644 --- a/internal/test/server.go +++ b/internal/test/server.go @@ -6,6 +6,7 @@ import ( "crypto/x509" "net/http" "net/http/httptest" + httpw "github.com/eduvpn/eduvpn-common/internal/http" "github.com/go-errors/errors" ) |
