- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestVersionName (1.19 sec)
-
src/crypto/tls/tls_test.go
panic("unreachable") } if !slices.IsSortedFunc(prefOrder, isBetter) { t.Error("preference order is not sorted according to the rules") } } } func TestVersionName(t *testing.T) { if got, exp := VersionName(VersionTLS13), "TLS 1.3"; got != exp { t.Errorf("unexpected VersionName: got %q, expected %q", got, exp) } if got, exp := VersionName(0x12a), "0x012A"; got != exp {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 60.5K bytes - Viewed (0)