Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestInputStreamNullLocation (0.19 sec)

  1. staging/src/k8s.io/apiserver/pkg/registry/generic/rest/streamer_test.go

    	result, _ := ioutil.ReadAll(readCloser)
    	if string(result) != resultString {
    		t.Errorf("Stream content does not match. Got: %s. Expected: %s.", string(result), resultString)
    	}
    }
    
    func TestInputStreamNullLocation(t *testing.T) {
    	streamer := &LocationStreamer{
    		Location: nil,
    	}
    	readCloser, _, _, err := streamer.InputStream(context.Background(), "", "")
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 27 08:25:24 UTC 2021
    - 5K bytes
    - Viewed (0)
Back to top