(t *testing.T)
| 135 | } |
| 136 | |
| 137 | func TestTLSVersionStringer(t *testing.T) { |
| 138 | if s := (TLSVersion)(tls.VersionTLS13); s.String() != "TLS13" { |
| 139 | t.Fatalf("tls.VersionTLS13 string should be TLS13, got %s", s.String()) |
| 140 | } |
| 141 | } |
| 142 | |
| 143 | func TestTLSVersionMarshalYAML(t *testing.T) { |
| 144 | tests := []struct { |