Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for CreateCredentials (0.47 sec)

  1. internal/auth/credentials_test.go

    		// Smaller secret key.
    		{alphaNumericTable[:accessKeyMinLen], alphaNumericTable[:secretKeyMinLen-1], false, ErrInvalidSecretKeyLength},
    	}
    
    	for i, testCase := range testCases {
    		cred, err := CreateCredentials(testCase.accessKey, testCase.secretKey)
    
    		if err != nil {
    			if testCase.expectedErr == nil {
    				t.Fatalf("test %v: error: expected = <nil>, got = %v", i+1, err)
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 01 21:09:42 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top