mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-10-15 10:07:24 +00:00
Double delete is not a problem.
This commit is contained in:
1 parent
d5bc13751b
commit
78c7bf6af1
1 file changed
+3
@@ -59,6 +59,9 @@ func (s *LevelDBSuite) TestDelete(c *C) {
|
||||
|
||||
_, err = s.db.Get(key)
|
||||
c.Assert(err, ErrorMatches, "key not found")
|
||||
|
||||
err = s.db.Delete(key)
|
||||
c.Assert(err, IsNil)
|
||||
}
|
||||
|
||||
func (s *LevelDBSuite) TestFetchByPrefix(c *C) {
|
||||
|
||||
Reference in new issue
Block a user