MCPcopy Create free account
hub / github.com/maruel/panicparse / testCase

Struct testCase

stack/source_test.go:50–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48 }
49
50 type testCase struct {
51 name string
52 input string
53 // Due to inlining, the stack trace may (it depends on tool chain version)
54 // not contain much information about the arguments and shows as elided.
55 // Non-pointer call may show an elided argument, while there was no
56 // argument listed before.
57 mayBeInlined bool
58 // archBlock lists the CPU architectures to skip this test case on.
59 //
60 // Many test are hard to parse in 32 bits. Eventually we should fix these
61 // but I don't have time for this.
62 //
63 // The list is based on https://github.com/maruel/panicparse/issues/80.
64 // I was able to locally reproduce amd64 and 386 but not the rest.
65 archBlock goarchList
66 want Stack
67 }
68 data := []testCase{
69 {
70 "local function doesn't interfere",

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected