summaryrefslogtreecommitdiff
path: root/internal/test
diff options
context:
space:
mode:
Diffstat (limited to 'internal/test')
-rw-r--r--internal/test/handler.go2
-rw-r--r--internal/test/server.go1
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"
)