MCPcopy
hub / github.com/harness/harness / TestFrame

Method TestFrame

registry/app/common/lib/errors/stack_test.go:32–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30func (c *stackTestSuite) SetupTest() {}
31
32func (c *stackTestSuite) TestFrame() {
33 stack := newStack()
34 frames := stack.frames()
35 c.Equal(len(frames), 4)
36 log.Info().Msg(frames.format())
37}
38
39func (c *stackTestSuite) TestFormat() {
40 stack := newStack()

Callers

nothing calls this directly

Calls 6

newStackFunction · 0.85
framesMethod · 0.80
EqualMethod · 0.80
MsgMethod · 0.80
formatMethod · 0.80
InfoMethod · 0.65

Tested by

no test coverage detected