- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for checkRespErr (0.11 sec)
-
cmd/test-utils_test.go
) { if len(partSizes) == 0 { t.Fatalf("Cannot upload an object without part sizes") } if len(partSizes) > 1 { asMultipart = true } checkRespErr := func(rec *httptest.ResponseRecorder, exp int) { t.Helper() if rec.Code != exp { b, err := io.ReadAll(rec.Body) t.Fatalf("Expected: %v, Got: %v, Body: %s, err: %v", exp, rec.Code, string(b), err) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 01 22:13:18 UTC 2024 - 77K bytes - Viewed (0)