Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for checkRespErr (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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)
    		}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 77K bytes
    - Click Count (0)
Back to Top