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

remove extra webfile test code #12

Merged
merged 1 commit into from
Mar 20, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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