🚤 Improve sql storage

This commit is contained in:
kiyon
2020-11-06 09:56:34 +08:00
parent 4ac8cc184b
commit 25ec0e291e
6 changed files with 45 additions and 12 deletions

View File

@@ -121,3 +121,8 @@ func Test_Postgres_Clear(t *testing.T) {
utils.AssertEqual(t, ErrNotExist, err)
utils.AssertEqual(t, true, len(result) == 0)
}
func Test_Postgres_Close(t *testing.T) {
err := testStore.Close()
utils.AssertEqual(t, nil, err)
}