Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
608
func
ptr(i int) *int {
609
return
&i
610
}
611
612
func
TestSame(t *testing.T) {
613
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