MCPcopy Create free account
hub / github.com/stretchr/testify / ptr

Function ptr

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

Source from the content-addressed store, hash-verified

606}
607
608func ptr(i int) *int {
609 return &i
610}
611
612func TestSame(t *testing.T) {
613

Callers 3

TestSameFunction · 0.85
TestNotSameFunction · 0.85
Test_samePointersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected