mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-06-07 05:42:42 +00:00
Refactor checksum calculation to implement transparent checksum writer.
This commit is contained in:
@@ -21,7 +21,7 @@ func (s *ChecksumSuite) TearDownTest(c *C) {
|
||||
s.tempfile.Close()
|
||||
}
|
||||
|
||||
func (s *ChecksumSuite) TestChecksum(c *C) {
|
||||
func (s *ChecksumSuite) TestChecksumsForFile(c *C) {
|
||||
info, err := ChecksumsForFile(s.tempfile.Name())
|
||||
|
||||
c.Assert(err, IsNil)
|
||||
|
||||
Reference in New Issue
Block a user