(t *testing.T)
| 43 | } |
| 44 | |
| 45 | func TestEncodeError(t *testing.T) { |
| 46 | resp := NewError([]byte("Error")) |
| 47 | testEncodeAndCheck(t, resp, []byte("-Error\r\n")) |
| 48 | } |
| 49 | |
| 50 | func TestEncodeInt(t *testing.T) { |
| 51 | for _, v := range []int{-1, 0, 1024 * 1024} { |
nothing calls this directly
no test coverage detected