Skip to content

Commit

Permalink
Remove unnecessary refernce to internal/testenv
Browse files Browse the repository at this point in the history
testenv.MustHaveExternalNetwork merely skips the test if the -short flag
is provided, but it isn't used in our workflow.
  • Loading branch information
cbroglie authored and kisom committed Jul 26, 2018
1 parent 56268a6 commit c285e6c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions scan/crypto/tls/tls_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import (
"bytes"
"errors"
"fmt"
"internal/testenv"
"io"
"net"
"strings"
Expand Down Expand Up @@ -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)
Expand All @@ -342,8 +339,6 @@ func TestVerifyHostname(t *testing.T) {
}

func TestVerifyHostnameResumed(t *testing.T) {
testenv.MustHaveExternalNetwork(t)

config := &Config{
ClientSessionCache: NewLRUClientSessionCache(32),
}
Expand Down

0 comments on commit c285e6c

Please sign in to comment.