(t *testing.T)
| 19 | } |
| 20 | |
| 21 | func TestOpenFilePool_Close(t *testing.T) { |
| 22 | var pool = caches.NewOpenFilePool("a") |
| 23 | pool.Put(caches.NewOpenFile(nil, nil, nil, 0, 1)) |
| 24 | pool.Put(caches.NewOpenFile(nil, nil, nil, 0, 1)) |
| 25 | pool.Close() |
| 26 | } |
| 27 | |
| 28 | func TestOpenFilePool_Concurrent(t *testing.T) { |
| 29 | var pool = caches.NewOpenFilePool("a") |
nothing calls this directly
no test coverage detected