MCPcopy Index your code
hub / github.com/CodisLabs/codis / TestDecodeSimpleRequest3

Function TestDecodeSimpleRequest3

pkg/proxy/redis/decoder_test.go:72–78  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

70}
71
72func TestDecodeSimpleRequest3(t *testing.T) {
73 test := []string{"\r", "\n", " \n"}
74 for _, s := range test {
75 _, err := DecodeFromBytes([]byte(s))
76 assert.Must(err != nil)
77 }
78}
79
80func TestDecodeBulkBytes(t *testing.T) {
81 test := "*2\r\n$4\r\nLLEN\r\n$6\r\nmylist\r\n"

Callers

nothing calls this directly

Calls 1

DecodeFromBytesFunction · 0.85

Tested by

no test coverage detected