micro-codec-proto/codec_test.go
Vasiliy Tolstov 524145944a add test file
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-04-12 17:13:42 +03:00

20 lines
250 B
Go

package proto
import (
"bytes"
"testing"
)
func TestReadBody(t *testing.T) {
t.Skip("skip as no proto")
s := &struct {
Name string
}{}
c := NewCodec()
b := bytes.NewReader(nil)
err := c.ReadBody(b, s)
if err != nil {
t.Fatal(err)
}
}