GetEqualErr verify that the return value of the set operation is correct
(t *testing.T, errValue string, args ...interface{})
| 49 | |
| 50 | //GetEqualErr verify that the return value of the set operation is correct |
| 51 | func (es *ExampleString) GetEqualErr(t *testing.T, errValue string, args ...interface{}) { |
| 52 | _, err := es.conn.Do("get", args...) |
| 53 | assert.EqualError(t, err, errValue) |
| 54 | } |
| 55 | |
| 56 | //SetNxEqualErr verify that the return value of the set operation is correct |
| 57 | func (es *ExampleString) SetNxEqual(t *testing.T, key string, value string) { |