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

Method SetEqualErr

tools/autotest/cmd/string.go:45–48  ·  view source on GitHub ↗

SetEqualErr 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

43
44//SetEqualErr verify that the return value of the set operation is correct
45func (es *ExampleString) SetEqualErr(t *testing.T, errValue string, args ...interface{}) {
46 _, err := es.conn.Do("set", args...)
47 assert.EqualError(t, err, errValue)
48}
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{}) {

Callers 1

StringCaseMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected