mirror of
https://github.com/golang/go.git
synced 2024-09-21 18:38:37 +00:00
net/http: disable TestServeFileFromCWD test on windows
This is an attempt to fix windows build. Will restore once we know what the problem is. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6461046
This commit is contained in:
parent
3f03b6f83a
commit
2e0e7637c5
@ -335,6 +335,11 @@ func TestServeFileMimeType(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestServeFileFromCWD(t *testing.T) {
|
||||
if runtime.GOOS == "windows" {
|
||||
// TODO(brainman): find out why this test is broken
|
||||
t.Logf("Temporarily skipping test on Windows; see http://golang.org/issue/3917")
|
||||
return
|
||||
}
|
||||
ts := httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) {
|
||||
ServeFile(w, r, "fs_test.go")
|
||||
}))
|
||||
|
Loading…
Reference in New Issue
Block a user