改进单元测试,以便于可以使用go test ../...进行执行

This commit is contained in:
刘祥超
2024-04-14 19:59:56 +08:00
parent 7141add68e
commit 27c61ca0d4
8 changed files with 150 additions and 16 deletions

View File

@@ -11,7 +11,7 @@ import (
)
func TestRemoveDB(t *testing.T) {
err := kvstore.RemoveStore(Tea.Root + "/data/stores/test.store")
err := kvstore.RemoveStore(Tea.Root + "/data/stores/test2.store")
if err != nil {
t.Fatal(err)
}