Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/stretchr/objx
/ TestStringTypeString
Function
TestStringTypeString
value_test.go:9–15 ·
view source on GitHub ↗
(t *testing.T)
Source
from the content-addressed store, hash-verified
7
)
8
9
func
TestStringTypeString(t *testing.T) {
10
m := objx.Map{
11
"string"
:
"foo"
,
12
}
13
14
assert.Equal(t,
"foo"
, m.Get(
"string"
).String())
15
}
16
17
func
TestStringTypeBool(t *testing.T) {
18
m := objx.Map{
Callers
nothing calls this directly
Calls
3
Get
Method · 0.95
String
Method · 0.80
Equal
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…