()
| 14 | var listErr error |
| 15 | |
| 16 | func initList() (*ListStructure, *config.Options) { |
| 17 | opts := config.DefaultOptions |
| 18 | dir, _ := os.MkdirTemp("", "TestListStructure") |
| 19 | opts.DirPath = dir |
| 20 | list, _ := NewListStructure(opts) |
| 21 | return list, &opts |
| 22 | } |
| 23 | |
| 24 | func TestListStructure_TTL(t *testing.T) { |
| 25 | list, _ := initList() |
no test coverage detected