MCPcopy Index your code
hub / github.com/go-openapi/jsonpointer / TestDecodedTokens

Function TestDecodedTokens

pointer_test.go:133–139  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

131}
132
133func TestDecodedTokens(t *testing.T) {
134 t.Parallel()
135
136 p, err := New("/obj/a~1b")
137 require.NoError(t, err)
138 assert.Equal(t, []string{"obj", "a/b"}, p.DecodedTokens())
139}
140
141func TestIsEmpty(t *testing.T) {
142 t.Parallel()

Callers

nothing calls this directly

Calls 2

NewFunction · 0.85
DecodedTokensMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…