mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-10-21 10:58:23 +00:00
only create bzip file if needed. #415
This commit is contained in:
1 parent
34ea7e8d61
commit
fcd4429370
3 files changed
+4
-4
No files matched your search
@@ -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