TestClientCredsWithoutFallback verifies that the call to NewClientCredentials() fails when no fallback is specified.
(t *testing.T)
| 286 | // TestClientCredsWithoutFallback verifies that the call to |
| 287 | // NewClientCredentials() fails when no fallback is specified. |
| 288 | func (s) TestClientCredsWithoutFallback(t *testing.T) { |
| 289 | if _, err := NewClientCredentials(ClientOptions{}); err == nil { |
| 290 | t.Fatal("NewClientCredentials() succeeded without specifying fallback") |
| 291 | } |
| 292 | } |
| 293 | |
| 294 | // TestClientCredsInvalidHandshakeInfo verifies scenarios where the passed in |
| 295 | // HandshakeInfo is invalid because it does not contain the expected certificate |
nothing calls this directly
no test coverage detected