diff --git a/codec_test.go b/codec_test.go new file mode 100644 index 0000000..6ca352b --- /dev/null +++ b/codec_test.go @@ -0,0 +1,19 @@ +package jsonpb + +import ( + "bytes" + "testing" +) + +func TestReadBody(t *testing.T) { + t.Skip("skip without proto message") + s := &struct { + Name string + }{} + c := NewCodec() + b := bytes.NewReader(nil) + err := c.ReadBody(b, s) + if err != nil { + t.Fatal(err) + } +}