Files
quic-go/internal/synctest/synctest_go124.go
Marten Seemann b25c128993 ci: update golangci-lint to v2.6.0 (#5412)
* ci: update golangci-lint to v2.6.0

* supress synctest linter warning
2025-10-30 22:18:03 +01:00

20 lines
285 B
Go

//go:build go1.24 && !go1.25
package synctest
import (
"testing"
"testing/synctest"
)
func Test(t *testing.T, f func(t *testing.T)) {
synctest.Run(func() {
f(t)
})
}
func Wait() {
//nolint:govet // the CI configuration sets the GOEXPERIMENT=synctest flag
synctest.Wait()
}