blob: 85918cad4aba9f498fef6961a814cffdfb05be01 [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 goexperiment.synctest
package mcp
import (
"testing"
"testing/synctest"
)
func runSyncTest(t *testing.T, f func(t *testing.T)) {
synctest.Run(func() { f(t) })
}