mirror of
https://github.com/valyala/fasthttp.git
synced 2026-06-15 16:07:51 +03:00
Fixed broken test
This commit is contained in:
+2
-2
@@ -42,8 +42,8 @@ func TestServerTimeoutError(t *testing.T) {
|
||||
}
|
||||
|
||||
br := bufio.NewReader(&rw.w)
|
||||
verifyResponse(t, br, 200, string(defaultContentType), "stolen ctx")
|
||||
verifyResponse(t, br, 200, string(defaultContentType), "stolen ctx")
|
||||
verifyResponse(t, br, StatusRequestTimeout, string(defaultContentType), "stolen ctx")
|
||||
verifyResponse(t, br, StatusRequestTimeout, string(defaultContentType), "stolen ctx")
|
||||
|
||||
data, err := ioutil.ReadAll(br)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user