Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestCredentialsEqual (0.12 sec)

  1. internal/auth/credentials_test.go

    				t.Fatalf("test %v: error: expected = %v, got = <nil>", i+1, testCase.expectedErr)
    			}
    			if !cred.IsValid() {
    				t.Fatalf("test %v: got invalid credentials", i+1)
    			}
    		}
    	}
    }
    
    func TestCredentialsEqual(t *testing.T) {
    	cred, err := GetNewCredentials()
    	if err != nil {
    		t.Fatalf("Failed to get a new credential: %v", err)
    	}
    	cred2, err := GetNewCredentials()
    	if err != nil {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Mar 01 21:09:42 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top