MCPcopy Index your code
hub / github.com/pkg/errors / TestWithStackNil

Function TestWithStackNil

errors_test.go:152–157  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

150}
151
152func TestWithStackNil(t *testing.T) {
153 got := WithStack(nil)
154 if got != nil {
155 t.Errorf("WithStack(nil): got %#v, expected nil", got)
156 }
157}
158
159func TestWithStack(t *testing.T) {
160 tests := []struct {

Callers

nothing calls this directly

Calls 1

WithStackFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…