()
| 11 | ) |
| 12 | |
| 13 | func initHashDB() (*HashStructure, *config.Options) { |
| 14 | opts := config.DefaultOptions |
| 15 | dir, _ := os.MkdirTemp("", "TestHashStructure") |
| 16 | opts.DirPath = dir |
| 17 | hash, _ := NewHashStructure(opts) |
| 18 | return hash, &opts |
| 19 | } |
| 20 | |
| 21 | func TestHashStructure_HGet(t *testing.T) { |
| 22 | hash, _ := initHashDB() |
no test coverage detected