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

Function TestTextPlainDecoder_Decode_Bytes

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

Source from the content-addressed store, hash-verified

313}
314
315func TestTextPlainDecoder_Decode_Bytes(t *testing.T) {
316 decoder := makeTextDecoder()
317 var value []byte
318
319 err := decoder.Decode(&value)
320
321 assert.NoError(t, err)
322 assert.Equal(t, testString, string(value))
323}
324
325func TestTextPlainDecoder_Decode_Other(t *testing.T) {
326 decoder := makeTextDecoder()

Callers

nothing calls this directly

Calls 2

makeTextDecoderFunction · 0.85
DecodeMethod · 0.65

Tested by

no test coverage detected