(t *testing.T)
| 38 | } |
| 39 | |
| 40 | func TestEncodeString(t *testing.T) { |
| 41 | resp := NewString([]byte("OK")) |
| 42 | testEncodeAndCheck(t, resp, []byte("+OK\r\n")) |
| 43 | } |
| 44 | |
| 45 | func TestEncodeError(t *testing.T) { |
| 46 | resp := NewError([]byte("Error")) |
nothing calls this directly
no test coverage detected