Skip to content

Commit

Permalink
Removed unnecessary afterTest
Browse files Browse the repository at this point in the history
  • Loading branch information
SlyMarbo committed Mar 3, 2015
1 parent 36613bd commit af1ca6a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions client_test.go
Expand Up @@ -21,7 +21,6 @@ func init() {
}

func TestClient(t *testing.T) {
defer afterTest(t)
ts := newServer(robotsTxtHandler)
defer ts.Close()

Expand All @@ -41,7 +40,6 @@ func TestClient(t *testing.T) {
}

func TestClientHead(t *testing.T) {
defer afterTest(t)
ts := newServer(robotsTxtHandler)
defer ts.Close()

Expand Down Expand Up @@ -271,6 +269,3 @@ func newClient() *http.Client {
}
return &http.Client{Transport: &tr}
}

func afterTest(t *testing.T) {
}

0 comments on commit af1ca6a

Please sign in to comment.