MCPcopy Create free account
hub / github.com/distributedio/titan / GetEqualErr

Method GetEqualErr

tools/autotest/cmd/string.go:51–54  ·  view source on GitHub ↗

GetEqualErr verify that the return value of the set operation is correct

(t *testing.T, errValue string, args ...interface{})

Source from the content-addressed store, hash-verified

49
50//GetEqualErr verify that the return value of the set operation is correct
51func (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
57func (es *ExampleString) SetNxEqual(t *testing.T, key string, value string) {

Callers 1

StringCaseMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected