Skip to content

Commit

Permalink
Merge pull request #958 from gyuho/test
Browse files Browse the repository at this point in the history
reflection: check ServerReflectionInfo error
  • Loading branch information
menghanl committed Oct 31, 2016
2 parents 4c95b51 + 05aaecb commit 3235584
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions reflection/serverreflection_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,9 @@ func TestReflectionEnd2end(t *testing.T) {

c := rpb.NewServerReflectionClient(conn)
stream, err := c.ServerReflectionInfo(context.Background())
if err != nil {
t.Fatalf("cannot get ServerReflectionInfo: %v", err)
}

testFileByFilename(t, stream)
testFileByFilenameError(t, stream)
Expand Down

0 comments on commit 3235584

Please sign in to comment.