MCPcopy Index your code
hub / github.com/maruel/panicparse / compareString

Function compareString

internal/main_test.go:132–137  ·  view source on GitHub ↗
(t *testing.T, want, got string)

Source from the content-addressed store, hash-verified

130//
131
132func compareString(t *testing.T, want, got string) {
133 if diff := cmp.Diff(want, got); diff != "" {
134 t.Helper()
135 t.Fatalf("Mismatch (-want +got):\n%s", diff)
136 }
137}
138
139func TestMain(m *testing.M) {
140 flag.Parse()

Callers 5

TestCalcBucketsLengthsFunction · 0.70
TestBucketHeaderFunction · 0.70
TestStackLinesFunction · 0.70
TestProcessFunction · 0.70
TestProcessTwoSnapshotsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…