MCPcopy Index your code
hub / github.com/goadesign/goa / TestTextPlainDecoder_Decode_String

Function TestTextPlainDecoder_Decode_String

http/encoding_test.go:305–313  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

303}
304
305func TestTextPlainDecoder_Decode_String(t *testing.T) {
306 decoder := makeTextDecoder()
307 var value string
308
309 err := decoder.Decode(&value)
310
311 assert.NoError(t, err)
312 assert.Equal(t, testString, value)
313}
314
315func TestTextPlainDecoder_Decode_Bytes(t *testing.T) {
316 decoder := makeTextDecoder()

Callers

nothing calls this directly

Calls 2

makeTextDecoderFunction · 0.85
DecodeMethod · 0.65

Tested by

no test coverage detected