MCPcopy Create free account
hub / github.com/juju/errors / TestSetLocationWithNilError

Method TestSetLocationWithNilError

functions_test.go:378–380  ·  view source on GitHub ↗
(c *gc.C)

Source from the content-addressed store, hash-verified

376}
377
378func (*functionSuite) TestSetLocationWithNilError(c *gc.C) {
379 c.Assert(errors.SetLocation(nil, 1), gc.IsNil)
380}
381
382func (*functionSuite) TestSetLocation(c *gc.C) {
383 err := errors.New("test")

Callers

nothing calls this directly

Calls 1

SetLocationFunction · 0.92

Tested by

no test coverage detected