Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for wantResp (0.17 sec)

  1. cmd/kms-handlers_test.go

    			asRoot: true,
    
    			wantStatusCode: http.StatusOK,
    			wantResp:       []string{"abc-test-key"},
    		},
    		{
    			name:   "key status as user no policy want forbidden",
    			method: http.MethodGet,
    			path:   kmsKeyStatusPath,
    			query:  map[string]string{"key-id": "abc-test-key"},
    			asRoot: false,
    
    			wantStatusCode: http.StatusForbidden,
    			wantResp:       []string{"AccessDenied"},
    		},
    		{
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  2. src/archive/tar/strconv_test.go

    			t.Errorf("parsePAXRecord(%q): got (%q: %q), want (%q: %q)",
    				v.in, key, val, v.wantKey, v.wantVal)
    		}
    		if res != v.wantRes {
    			t.Errorf("parsePAXRecord(%q): got residual %q, want residual %q",
    				v.in, res, v.wantRes)
    		}
    	}
    }
    
    func TestFormatPAXRecord(t *testing.T) {
    	medName := strings.Repeat("CD", 50)
    	longName := strings.Repeat("AB", 100)
    
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Tue Feb 09 05:28:50 UTC 2021
    - 14K bytes
    - Viewed (0)
Back to top