Test for EmptyCallOption
This commit is contained in:

committed by
Mehrdad Afshari

parent
ce595b8452
commit
11d93ecdb9
@ -47,6 +47,8 @@ import (
|
|||||||
"google.golang.org/grpc/transport"
|
"google.golang.org/grpc/transport"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
var _ CallOption = EmptyCallOption{} // ensure EmptyCallOption implements the interface
|
||||||
|
|
||||||
func TestSimpleParsing(t *testing.T) {
|
func TestSimpleParsing(t *testing.T) {
|
||||||
bigMsg := bytes.Repeat([]byte{'x'}, 1<<24)
|
bigMsg := bytes.Repeat([]byte{'x'}, 1<<24)
|
||||||
for _, test := range []struct {
|
for _, test := range []struct {
|
||||||
|
Reference in New Issue
Block a user