MCPcopy Create free account
hub / github.com/Percona-Lab/mysql_random_data_load / NotOk

Function NotOk

testutils/testutils.go:218–223  ·  view source on GitHub ↗
(tb testing.TB, err error)

Source from the content-addressed store, hash-verified

216}
217
218func NotOk(tb testing.TB, err error) {
219 if err == nil {
220 fmt.Printf("%s: expected error is nil\n\n", caller())
221 tb.FailNow()
222 }
223}
224
225func IsNil(tb testing.TB, i interface{}, args ...interface{}) {
226 if i != nil {

Callers

nothing calls this directly

Calls 1

callerFunction · 0.85

Tested by

no test coverage detected