()
| 14 | ) |
| 15 | |
| 16 | func initTestSetDb() (*SetStructure, *config.Options) { |
| 17 | opts := config.DefaultOptions |
| 18 | dir, _ := os.MkdirTemp("", "TestSetStructure") |
| 19 | opts.DirPath = dir |
| 20 | str, _ := NewSetStructure(opts) |
| 21 | return str, &opts |
| 22 | } |
| 23 | |
| 24 | func TestSetStructure_TTL(t *testing.T) { |
| 25 | set, _ := initTestSetDb() |
no test coverage detected