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

Function TestGenerate

stack/html_test.go:69–79  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

67}
68
69func TestGenerate(t *testing.T) {
70 t.Parallel()
71 // Confirms that nobody forgot to regenate data.go.
72 htmlRaw, err := loadGoroutines()
73 if err != nil {
74 t.Fatal(err)
75 }
76 if string(htmlRaw) != indexHTML {
77 t.Fatal("please run go generate")
78 }
79}
80
81// TestGetSrcBranchURL also tests pkgURL and srcURL and symbol.
82func TestGetSrcBranchURL(t *testing.T) {

Callers

nothing calls this directly

Calls 1

loadGoroutinesFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…