micro-codec-jsonpb/codec_test.go
Vasiliy Tolstov 87e4e04634 add test file
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-04-12 16:58:55 +03:00

20 lines
261 B
Go

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)
}
}