🩹 update tests

This commit is contained in:
Fenny
2020-11-06 16:05:53 +01:00
parent 52b1e73a5b
commit cdf009407b
22 changed files with 522 additions and 51 deletions

View File

@@ -93,7 +93,7 @@ func Test_Memcache_Delete(t *testing.T) {
utils.AssertEqual(t, true, len(result) == 0)
}
func Test_Memcache_Clear(t *testing.T) {
func Test_Memcache_Reset(t *testing.T) {
var (
val = []byte("doe")
)
@@ -115,3 +115,7 @@ func Test_Memcache_Clear(t *testing.T) {
utils.AssertEqual(t, ErrNotExist, err)
utils.AssertEqual(t, true, len(result) == 0)
}
func Test_Memcache_Close(t *testing.T) {
utils.AssertEqual(t, nil, testStore.Close())
}