Skip to content

Commit

Permalink
finished test case
Browse files Browse the repository at this point in the history
  • Loading branch information
holdno committed May 11, 2024
1 parent c84a5a5 commit c170005
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions rpc_util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,10 @@ func (s) TestToRPCErr(t *testing.T) {
}
}

func (s) TestNilReply(t *testing.T) {
type XxxReply struct{}
func TestNilReply(t *testing.T) {
type XxxReply struct {
proto.Message
}

handler := func() (any, error) {
return func() (*XxxReply, error) {
Expand Down

0 comments on commit c170005

Please sign in to comment.