MCPcopy Create free account
hub / github.com/corestoreio/pkg / NoError

Function NoError

util/assert/assertions.go:1254–1263  ·  view source on GitHub ↗

* Errors */ NoError asserts that a function returned no error (i.e. `nil`). actualObj, err := SomeFunction() if assert.NoError(t, err) { assert.Equal(t, expectedObj, actualObj) }

(t TestingT, err error, msgAndArgs ...interface{})

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

MatchesGoldenFunction · 0.85

Calls 2

FailFunction · 0.85
HelperMethod · 0.80

Tested by

no test coverage detected