MCPcopy 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
9func TestStringTypeString(t *testing.T) {
10 m := objx.Map{
11 "string": "foo",
12 }
13
14 assert.Equal(t, "foo", m.Get("string").String())
15}
16
17func TestStringTypeBool(t *testing.T) {
18 m := objx.Map{

Callers

nothing calls this directly

Calls 3

GetMethod · 0.95
StringMethod · 0.80
EqualMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…