mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-10-21 10:58:23 +00:00
Add unit-test. #66
This commit is contained in:
1 parent
3199fd85fb
commit
082fda62b5
1 file changed
+4
@@ -59,6 +59,10 @@ func (s *PublishedStorageSuite) TestFilelist(c *C) {
|
||||
list, err := s.storage.Filelist("ppa/pool/main/")
|
||||
c.Check(err, IsNil)
|
||||
c.Check(list, DeepEquals, []string{"a/ab/a.deb", "a/ab/b.deb"})
|
||||
|
||||
list, err = s.storage.Filelist("ppa/pool/doenstexist/")
|
||||
c.Check(err, IsNil)
|
||||
c.Check(list, DeepEquals, []string{})
|
||||
}
|
||||
|
||||
func (s *PublishedStorageSuite) TestRenameFile(c *C) {
|
||||
|
||||
Reference in new issue
Block a user