IncrEqualErr verify that the return value of the incr operation is correct
(t *testing.T, errValue string, args ...interface{})
| 212 | |
| 213 | //IncrEqualErr verify that the return value of the incr operation is correct |
| 214 | func (es *ExampleString) IncrEqualErr(t *testing.T, errValue string, args ...interface{}) { |
| 215 | _, err := es.conn.Do("incr", args...) |
| 216 | assert.EqualError(t, err, errValue) |
| 217 | } |
| 218 | |
| 219 | //StrlenEqual verify that the return value of the strlen operation is correct |
| 220 | func (es *ExampleString) StrlenEqual(t *testing.T, key string) { |