tsweb: fix tests.

Signed-off-by: David Anderson <dave@natulte.net>
pull/259/head
David Anderson 5 years ago
parent af3a9dfad6
commit b446de103a

@ -241,7 +241,7 @@ func TestStdHandler(t *testing.T) {
clock.Reset() clock.Reset()
rec := noopHijacker{httptest.NewRecorder(), false} rec := noopHijacker{httptest.NewRecorder(), false}
h := stdHandler(test.h, logf, clock.Now) h := stdHandler(test.h, logf, clock.Now, true)
h.ServeHTTP(&rec, test.r) h.ServeHTTP(&rec, test.r)
res := rec.Result() res := rec.Result()
if res.StatusCode != test.wantCode { if res.StatusCode != test.wantCode {

Loading…
Cancel
Save