MCPcopy
hub / github.com/gorilla/websocket / TestIsValidChallengeKey

Function TestIsValidChallengeKey

util_test.go:66–73  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

64}
65
66func TestIsValidChallengeKey(t *testing.T) {
67 for _, tt := range isValidChallengeKeyTests {
68 ok := isValidChallengeKey(tt.key)
69 if ok != tt.ok {
70 t.Errorf("isValidChallengeKey returns %v, want %v", ok, tt.ok)
71 }
72 }
73}
74
75var parseExtensionTests = []struct {
76 value string

Callers

nothing calls this directly

Calls 1

isValidChallengeKeyFunction · 0.85

Tested by

no test coverage detected