(t *testing.T)
| 70 | } |
| 71 | |
| 72 | func 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 | |
| 80 | func TestDecodeBulkBytes(t *testing.T) { |
| 81 | test := "*2\r\n$4\r\nLLEN\r\n$6\r\nmylist\r\n" |
nothing calls this directly
no test coverage detected