update tests

This commit is contained in:
Fenny
2020-11-05 05:57:14 +01:00
parent 420f4834d2
commit 79f1f1609e
8 changed files with 91 additions and 1 deletions

View File

@@ -24,6 +24,19 @@ func Test_SQLite3_Set(t *testing.T) {
utils.AssertEqual(t, nil, err)
}
func Test_SQLite3_Set_Override(t *testing.T) {
var (
key = "john"
val = []byte("doe")
)
err := testStore.Set(key, val, 0)
utils.AssertEqual(t, nil, err)
err := testStore.Set(key, val, 0)
utils.AssertEqual(t, nil, err)
}
func Test_SQLite3_Get(t *testing.T) {
var (
key = "john"