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

Function TestValidityURLQuerySliceKeySuffix

conversions_test.go:163–172  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

161}
162
163func TestValidityURLQuerySliceKeySuffix(t *testing.T) {
164 err := objx.SetURLValuesSliceKeySuffix("")
165 assert.Nil(t, err)
166 err = objx.SetURLValuesSliceKeySuffix("[]")
167 assert.Nil(t, err)
168 err = objx.SetURLValuesSliceKeySuffix("[i]")
169 assert.Nil(t, err)
170 err = objx.SetURLValuesSliceKeySuffix("{}")
171 assert.Error(t, err)
172}
173
174func getURLQueryMap() objx.Map {
175 return objx.Map{

Callers

nothing calls this directly

Calls 3

NilMethod · 0.45
ErrorMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…