MCPcopy
hub / github.com/stretchr/testify / isFuncSame

Function isFuncSame

mock/mock.go:1293–1298  ·  view source on GitHub ↗
(f1, f2 *runtime.Func)

Source from the content-addressed store, hash-verified

1291}
1292
1293func isFuncSame(f1, f2 *runtime.Func) bool {
1294 f1File, f1Loc := f1.FileLine(f1.Entry())
1295 f2File, f2Loc := f2.FileLine(f2.Entry())
1296
1297 return f1File == f2File && f1Loc == f2Loc
1298}

Callers 1

assertOptsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected