mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-06-07 05:42:42 +00:00
only create bzip file if needed. #415
This commit is contained in:
@@ -27,7 +27,7 @@ func (s *CompressSuite) TearDownTest(c *C) {
|
||||
}
|
||||
|
||||
func (s *CompressSuite) TestCompress(c *C) {
|
||||
err := CompressFile(s.tempfile)
|
||||
err := CompressFile(s.tempfile, false)
|
||||
c.Assert(err, IsNil)
|
||||
|
||||
buf := make([]byte, len(testString))
|
||||
|
||||
Reference in New Issue
Block a user