Save metadata on Sync (#197)

* Save metadata on Sync

* Add test
This commit is contained in:
Haleem Assal
2020-12-14 16:32:48 -04:00
committed by GitHub
parent 3a6235ea03
commit 29e1cf648b
2 changed files with 11 additions and 6 deletions

View File

@@ -633,6 +633,11 @@ func TestSync(t *testing.T) {
value := []byte("foobar")
err = db.Put(key, value)
})
t.Run("Put", func(t *testing.T) {
err = db.Put([]byte("hello"), []byte("world"))
assert.NoError(err)
})
}
func TestMaxKeySize(t *testing.T) {