MCPcopy Create free account
hub / github.com/stretchr/objx / TestStringTypeBool

Function TestStringTypeBool

value_test.go:17–23  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

15}
16
17func TestStringTypeBool(t *testing.T) {
18 m := objx.Map{
19 "bool": true,
20 }
21
22 assert.Equal(t, "true", m.Get("bool").String())
23}
24
25func TestStringTypeInt(t *testing.T) {
26 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…