(promise Promise)
| 59 | } |
| 60 | |
| 61 | func assertNotResolved(promise Promise) { |
| 62 | select { |
| 63 | case <-promise: |
| 64 | panic("promise should not have been resolved") |
| 65 | default: |
| 66 | } |
| 67 | } |
| 68 | |
| 69 | func Test_lockMap_Release(t *testing.T) { |
| 70 | m := newMap(sweepInterval) |
no outgoing calls
no test coverage detected