From c285e6cd988620015e3d5925f73bde44c0ae6fc1 Mon Sep 17 00:00:00 2001 From: Christopher Broglie Date: Thu, 19 Jul 2018 19:02:35 -0700 Subject: [PATCH] Remove unnecessary refernce to internal/testenv testenv.MustHaveExternalNetwork merely skips the test if the -short flag is provided, but it isn't used in our workflow. --- scan/crypto/tls/tls_test.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/scan/crypto/tls/tls_test.go b/scan/crypto/tls/tls_test.go index 5cc14278a..1093cdd84 100644 --- a/scan/crypto/tls/tls_test.go +++ b/scan/crypto/tls/tls_test.go @@ -8,7 +8,6 @@ import ( "bytes" "errors" "fmt" - "internal/testenv" "io" "net" "strings" @@ -316,8 +315,6 @@ func TestTLSUniqueMatches(t *testing.T) { } func TestVerifyHostname(t *testing.T) { - testenv.MustHaveExternalNetwork(t) - c, err := Dial("tcp", "www.google.com:https", nil) if err != nil { t.Fatal(err) @@ -342,8 +339,6 @@ func TestVerifyHostname(t *testing.T) { } func TestVerifyHostnameResumed(t *testing.T) { - testenv.MustHaveExternalNetwork(t) - config := &Config{ ClientSessionCache: NewLRUClientSessionCache(32), }