Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Breiding (0.18 sec)

  1. cmd/server_test.go

    	c.Assert(err, nil)
    	// executing the HTTP request.
    	response, err = s.client.Do(request)
    	c.Assert(err, nil)
    	// validating the response status code.
    	c.Assert(response.StatusCode, http.StatusOK)
    	// reading the response body.
    	// response body is expected to have the copied content of the first uploaded object.
    	object, err := io.ReadAll(response.Body)
    	c.Assert(err, nil)
    	c.Assert(string(object), "hello world")
    }
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
Back to top