Browse Source

Fix tests on Go 1.2

Carl Jackson 11 years ago
parent
commit
b85318d656
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      graceful/middleware_test.go

+ 1
- 1
graceful/middleware_test.go View File

@ -19,7 +19,7 @@ func (f fakeWriter) Write(buf []byte) (int, error) {
func (f fakeWriter) WriteHeader(status int) {}
func testClose(t *testing.T, h http.Handler, expectClose bool) {
m := Middleware(h)
m := middleware(h)
r, _ := http.NewRequest("GET", "/", nil)
w := make(fakeWriter)
m.ServeHTTP(w, r)


Loading…
Cancel
Save