From c2fb15164bdb9d44a302771be613fbef5faa4a8e Mon Sep 17 00:00:00 2001 From: Sean Liao Date: Sun, 5 Oct 2025 23:17:40 +0100 Subject: [PATCH] testing/synctest: remove Run Run (experimental) is replaced by Test. Fixes #74012 Change-Id: I1721e1edfbcb4f1fe2159dc0430a13685b2d08c4 Reviewed-on: https://go-review.googlesource.com/c/go/+/709355 Reviewed-by: Emmanuel Odeke Reviewed-by: Damien Neil Auto-Submit: Damien Neil LUCI-TryBot-Result: Go LUCI Reviewed-by: Alan Donovan --- src/testing/synctest/run.go | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 src/testing/synctest/run.go diff --git a/src/testing/synctest/run.go b/src/testing/synctest/run.go deleted file mode 100644 index 2e668ab863..0000000000 --- a/src/testing/synctest/run.go +++ /dev/null @@ -1,16 +0,0 @@ -// 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 synctest - -import "internal/synctest" - -// Run is deprecated. -// -// Deprecated: Use Test instead. Run will be removed in Go 1.26. -func Run(f func()) { - synctest.Run(f) -} -- 2.52.0