micro-codec-urlencode/codec_test.go
Vasiliy Tolstov fd2045ff05 initial import
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-04-16 17:32:06 +03:00

19 lines
226 B
Go

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