Skip to content

Commit

Permalink
more tests for reader close
Browse files Browse the repository at this point in the history
  • Loading branch information
cheggaaa committed Oct 17, 2017
1 parent fec330e commit 72576f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions reader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ func TestPBProxyReader(t *testing.T) {
if !testReader.closed {
t.Errorf("Reader must be closed after call ProxyReader.Close")
}
proxyReader.Reader = nil
proxyReader.Close()
}

type testReaderCloser struct {
Expand Down

0 comments on commit 72576f8

Please sign in to comment.