9009: Fix missing Close() in collectionreader.
[arvados.git] / sdk / go / keepclient / collectionreader_test.go
index 58a047c55a053c14d8324266363fc7ad7fae33fa..2cc23738855dfeab3cd8ab2ef33cb27055a35fa1 100644 (file)
@@ -220,4 +220,5 @@ func (s *CollectionReaderUnit) TestCollectionReaderDataError(c *check.C) {
                c.Check(err, check.NotNil)
                c.Check(err, check.Not(check.Equals), io.EOF)
        }
+       c.Check(rdr.Close(), check.NotNil)
 }