Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ExpectedString (0.14 sec)

  1. istioctl/pkg/proxyconfig/proxyconfig_test.go

    		t.Fatalf("Unexpected output for 'istioctl %s'\n got: %q\nwant: %q", strings.Join(c.args, " "), output, c.expectedOutput)
    	}
    
    	if c.expectedString != "" && !strings.Contains(output, c.expectedString) {
    		t.Fatalf("Output didn't match for '%s %s'\n got %v\nwant: %v", cmd.Name(), strings.Join(c.args, " "), output, c.expectedString)
    	}
    
    	if c.wantException {
    		if fErr == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 21:51:29 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. istioctl/pkg/ztunnelconfig/ztunnelconfig_test.go

    		t.Fatalf("Unexpected output for 'istioctl %s'\n got: %q\nwant: %q", strings.Join(c.args, " "), output, c.expectedOutput)
    	}
    
    	if c.expectedString != "" && !strings.Contains(output, c.expectedString) {
    		t.Fatalf("Output didn't match for '%s %s'\n got %v\nwant: %v", cmd.Name(), strings.Join(c.args, " "), output, c.expectedString)
    	}
    
    	if c.wantException {
    		if fErr == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 21:51:29 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. cmd/server_test.go

    	c.Assert(response.StatusCode, http.StatusOK)
    
    	// test Cases containing data to make partial range requests.
    	// also has expected response data.
    	testCases := []struct {
    		byteRange      string
    		expectedString string
    	}{
    		// request for byte range 10-11.
    		// expecting the result to contain only putContent[10:12] bytes.
    		{"10-11", putContent[10:12]},
    		// request for object data after the first byte.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 115.3K bytes
    - Viewed (0)
Back to top