MCPcopy Create free account
hub / github.com/antonmedv/gitmal / assertEqual

Function assertEqual

pkg/gitdiff/format_roundtrip_test.go:153–157  ·  view source on GitHub ↗
(t *testing.T, expected, actual T, name string)

Source from the content-addressed store, hash-verified

151}
152
153func assertEqual[T comparable](t *testing.T, expected, actual T, name string) {
154 if expected != actual {
155 t.Errorf("%s: expected %#v, actual %#v", name, expected, actual)
156 }
157}

Callers 1

assertFilesEqualFunction · 0.85

Calls 1

ErrorfMethod · 0.80

Tested by

no test coverage detected