(t *testing.T)
| 42 | } |
| 43 | |
| 44 | func (s) TestTLSOverrideServerName(t *testing.T) { |
| 45 | expectedServerName := "server.name" |
| 46 | c := NewTLSWithALPNDisabled(nil) |
| 47 | c.OverrideServerName(expectedServerName) |
| 48 | if c.Info().ServerName != expectedServerName { |
| 49 | t.Fatalf("c.Info().ServerName = %v, want %v", c.Info().ServerName, expectedServerName) |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | func (s) TestTLSClone(t *testing.T) { |
| 54 | expectedServerName := "server.name" |
nothing calls this directly
no test coverage detected