diff options
-rw-r--r-- | domain_config_test.go | 2 | ||||
-rw-r--r-- | domains_test.go | 5 | ||||
-rw-r--r-- | logging_test.go | 3 | ||||
-rw-r--r-- | multi_string_flag_test.go | 3 | ||||
-rw-r--r-- | server.go | 3 |
5 files changed, 10 insertions, 6 deletions
diff --git a/domain_config_test.go b/domain_config_test.go index 51b9468b..307060ef 100644 --- a/domain_config_test.go +++ b/domain_config_test.go @@ -3,10 +3,10 @@ package main import ( "io/ioutil" "os" + "path/filepath" "testing" "github.com/stretchr/testify/assert" - "path/filepath" ) const configFile = "test-group/test-project/config.json" diff --git a/domains_test.go b/domains_test.go index 6ce11f5f..51bafc9f 100644 --- a/domains_test.go +++ b/domains_test.go @@ -2,12 +2,13 @@ package main import ( "crypto/rand" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" "io/ioutil" "os" "testing" "time" + + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" ) const updateFile = ".update" diff --git a/logging_test.go b/logging_test.go index e6551047..bc557a71 100644 --- a/logging_test.go +++ b/logging_test.go @@ -2,9 +2,10 @@ package main import ( "fmt" - "github.com/stretchr/testify/assert" "net/http" "testing" + + "github.com/stretchr/testify/assert" ) func testLogWithStatus(ww http.ResponseWriter, r *http.Request) { diff --git a/multi_string_flag_test.go b/multi_string_flag_test.go index bbbdea3d..ca561bc4 100644 --- a/multi_string_flag_test.go +++ b/multi_string_flag_test.go @@ -2,8 +2,9 @@ package main import ( "flag" - "github.com/stretchr/testify/assert" "testing" + + "github.com/stretchr/testify/assert" ) func TestMultiStringFlagAppendsOnSet(t *testing.T) { @@ -3,11 +3,12 @@ package main import ( "crypto/tls" "fmt" - "golang.org/x/net/http2" "net" "net/http" "os" "time" + + "golang.org/x/net/http2" ) type tlsHandlerFunc func(*tls.ClientHelloInfo) (*tls.Certificate, error) |