Double delete is not a problem.

This commit is contained in:
Andrey Smirnov
2014-01-29 14:34:30 +04:00
parent d5bc13751b
commit 78c7bf6af1

View File

@@ -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) {