Test for EmptyCallOption

This commit is contained in:
Mehrdad Afshari
2017-05-17 14:16:19 -07:00
committed by Mehrdad Afshari
parent ce595b8452
commit 11d93ecdb9

View File

@ -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 {