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

Method IncrEqualErr

tools/autotest/cmd/string.go:214–217  ·  view source on GitHub ↗

IncrEqualErr verify that the return value of the incr operation is correct

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

Source from the content-addressed store, hash-verified

212
213//IncrEqualErr verify that the return value of the incr operation is correct
214func (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
220func (es *ExampleString) StrlenEqual(t *testing.T, key string) {

Callers 1

StringCaseMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected