Skip to content

Commit 11d93ec

Browse files
committed
Test for EmptyCallOption
1 parent ce595b8 commit 11d93ec

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rpc_util_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ import (
4747
"google.golang.org/grpc/transport"
4848
)
4949

50+
var _ CallOption = EmptyCallOption{} // ensure EmptyCallOption implements the interface
51+
5052
func TestSimpleParsing(t *testing.T) {
5153
bigMsg := bytes.Repeat([]byte{'x'}, 1<<24)
5254
for _, test := range []struct {

0 commit comments

Comments
 (0)