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

Function ptr

assert/assertions_test.go:631–633  ·  view source on GitHub ↗
(i int)

Source from the content-addressed store, hash-verified

629}
630
631func ptr(i int) *int {
632 return &i
633}
634
635func TestSame(t *testing.T) {
636 t.Parallel()

Callers 3

TestSameFunction · 0.85
TestNotSameFunction · 0.85
Test_samePointersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected