(opts ...TestOption)
| 52 | } |
| 53 | |
| 54 | func newTestOptions(opts ...TestOption) *testOptions { |
| 55 | o := &testOptions{goLeakDetection: true, skipInShort: true} |
| 56 | for _, opt := range opts { |
| 57 | opt(o) |
| 58 | } |
| 59 | return o |
| 60 | } |
| 61 | |
| 62 | type TestOption func(opt *testOptions) |
| 63 |
no outgoing calls
no test coverage detected
searching dependent graphs…