(t *testing.T)
| 112 | } |
| 113 | |
| 114 | func TestOpenStoreDir(t *testing.T) { |
| 115 | store, err := kvstore.OpenStoreDir(Tea.Root+"/data/stores", "test3") |
| 116 | if err != nil { |
| 117 | t.Fatal(err) |
| 118 | } |
| 119 | defer func() { |
| 120 | _ = store.Close() |
| 121 | }() |
| 122 | |
| 123 | t.Log("opened") |
| 124 | |
| 125 | _ = store |
| 126 | } |
| 127 | |
| 128 | func TestStore_CloseTwice(t *testing.T) { |
| 129 | store, err := kvstore.OpenStore("test") |
nothing calls this directly
no test coverage detected