Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
631
func
ptr(i int) *int {
632
return
&i
633
}
634
635
func
TestSame(t *testing.T) {
636
t.Parallel()
Callers
3
TestSame
Function · 0.85
TestNotSame
Function · 0.85
Test_samePointers
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected