(m *testing.M)
| 13 | ) |
| 14 | |
| 15 | func TestMain(m *testing.M) { |
| 16 | if runtime.GOOS == "windows" { |
| 17 | // Don't run goleak on windows tests, they're super flaky right now. |
| 18 | // See: https://github.com/coder/coder/issues/8954 |
| 19 | os.Exit(m.Run()) |
| 20 | } |
| 21 | goleak.VerifyTestMain(m, testutil.GoleakOptions...) |
| 22 | } |
| 23 | |
| 24 | func TestRingBuffer_NewRingBuffer(t *testing.T) { |
| 25 | t.Parallel() |