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

Method StrlenEqualErr

tools/autotest/cmd/string.go:233–236  ·  view source on GitHub ↗

StrlenEqualErr verify that the return value of the strlen operation is correct

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

Source from the content-addressed store, hash-verified

231
232//StrlenEqualErr verify that the return value of the strlen operation is correct
233func (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
239func (es *ExampleString) MGetEqual(t *testing.T, args ...string) {

Callers 1

StringCaseMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected