Skip to content
This repository has been archived by the owner on Mar 29, 2023. It is now read-only.

Commit

Permalink
Merge pull request #12 from jmank88/webfile-test
Browse files Browse the repository at this point in the history
remove extra webfile test code
  • Loading branch information
Stebalien authored Mar 20, 2019
2 parents 8430fd0 + eeec4e8 commit 0b8684d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions webfile_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ import (
)

func TestWebFile(t *testing.T) {
http.HandleFunc("/my/url/content.txt", func(w http.ResponseWriter, r *http.Request) {
fmt.Fprintf(w, "Hello world!")
})

s := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
fmt.Fprintf(w, "Hello world!")
}))
Expand Down

0 comments on commit 0b8684d

Please sign in to comment.