(t *testing.T)
| 149 | } |
| 150 | |
| 151 | func TestNullBulkString_Encode(t *testing.T) { |
| 152 | assert := assert.New(t) |
| 153 | out := bytes.NewBuffer(nil) |
| 154 | e := NewEncoder(out) |
| 155 | err := e.NullBulkString() |
| 156 | assert.NoError(err) |
| 157 | assert.Equal("$-1\r\n", out.String()) |
| 158 | } |
nothing calls this directly
no test coverage detected