(t *testing.T)
| 36 | } |
| 37 | |
| 38 | func TestHTTPSRRALPNsIgnoresH2COnly(t *testing.T) { |
| 39 | srv := &Server{ |
| 40 | Protocols: []string{"h2c"}, |
| 41 | } |
| 42 | |
| 43 | got := httpsRRALPNs(srv) |
| 44 | if len(got) != 0 { |
| 45 | t.Fatalf("unexpected ALPN values: got %v want none", got) |
| 46 | } |
| 47 | } |
nothing calls this directly
no test coverage detected