Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/devspace-sh/devspace
/ TestString
Function
TestString
pkg/util/ptr/ptr_test.go:9–12 ·
view source on GitHub ↗
(t *testing.T)
Source
from the content-addressed store, hash-verified
7
)
8
9
func
TestString(t *testing.T) {
10
strPointer := String(
"hello"
)
11
assert.Equal(t, *strPointer,
"hello"
,
"Returned string pointer points wrong"
)
12
}
13
14
func
TestReverseString(t *testing.T) {
15
str :=
"hello"
Callers
nothing calls this directly
Calls
2
Equal
Method · 0.80
String
Function · 0.70
Tested by
no test coverage detected