blob: d3b28ef2266ababb1d5247fee71ea0b59cc0fbb0 [file] [log] [blame]
// Copyright 2025 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build go1.24 && goexperiment.synctest
package mcp
import (
"testing"
"testing/synctest"
)
func runSyncTest(t *testing.T, f func(t *testing.T)) {
synctest.Run(func() { f(t) })
}