StrlenEqualErr verify that the return value of the strlen operation is correct
(t *testing.T, errValue string, args ...interface{})
| 231 | |
| 232 | //StrlenEqualErr verify that the return value of the strlen operation is correct |
| 233 | func (es *ExampleString) StrlenEqualErr(t *testing.T, errValue string, args ...interface{}) { |
| 234 | _, err := es.conn.Do("strlen", args...) |
| 235 | assert.EqualError(t, err, errValue) |
| 236 | } |
| 237 | |
| 238 | //MGetEqual verify that the return value of the mget operation is correct |
| 239 | func (es *ExampleString) MGetEqual(t *testing.T, args ...string) { |