(t *testing.T)
| 36 | } |
| 37 | |
| 38 | func TestBasicAuthFails(t *testing.T) { |
| 39 | assert.Panics(t, func() { processAccounts(nil) }) |
| 40 | assert.Panics(t, func() { |
| 41 | processAccounts(Accounts{ |
| 42 | "": "password", |
| 43 | "foo": "bar", |
| 44 | }) |
| 45 | }) |
| 46 | } |
| 47 | |
| 48 | func TestBasicAuthSearchCredential(t *testing.T) { |
| 49 | pairs := processAccounts(Accounts{ |
nothing calls this directly
no test coverage detected