MCPcopy Index your code
hub / github.com/google/go-github / assertEqualStrings

Function assertEqualStrings

tools/metadata/main_test.go:386–392  ·  view source on GitHub ↗
(t *testing.T, want, got string)

Source from the content-addressed store, hash-verified

384}
385
386func assertEqualStrings(t *testing.T, want, got string) {
387 t.Helper()
388 diff := cmp.Diff(want, got)
389 if diff != "" {
390 t.Error(diff)
391 }
392}
393
394func assertEqualFiles(t *testing.T, want, got string) bool {
395 t.Helper()

Callers 1

assertOutputMethod · 0.85

Calls 1

ErrorMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…