]> Cypherpunks repositories - gostls13.git/commitdiff
testing/synctest: remove Run
authorSean Liao <sean@liao.dev>
Sun, 5 Oct 2025 22:17:40 +0000 (23:17 +0100)
committerGopher Robot <gobot@golang.org>
Mon, 6 Oct 2025 19:41:59 +0000 (12:41 -0700)
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 <emmanuel@orijtech.com>
Reviewed-by: Damien Neil <dneil@google.com>
Auto-Submit: Damien Neil <dneil@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
src/testing/synctest/run.go [deleted file]

diff --git a/src/testing/synctest/run.go b/src/testing/synctest/run.go
deleted file mode 100644 (file)
index 2e668ab..0000000
+++ /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)
-}