mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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 <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>
This commit is contained in:
parent
ac2ec82172
commit
c2fb15164b
1 changed files with 0 additions and 16 deletions
|
|
@ -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)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue