mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-10-21 10:58:23 +00:00
Refactor checksum calculation to implement transparent checksum writer.
This commit is contained in:
1 parent
89ac907ca3
commit
df0a678863
2 files changed
+60
-28
No files matched your search
@@ -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