mirror of
https://github.com/golang/go.git
synced 2025-10-19 19:13:18 +00:00
testing/synctest: explicitly state Run will be removed in Go 1.26
Updates #74012 Change-Id: I0407d9e87e9de6e02d3de0a462bc6a32c0faba4c Reviewed-on: https://go-review.googlesource.com/c/go/+/684875 Reviewed-by: Damien Neil <dneil@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: qiu laidongfeng2 <2645477756@qq.com>
This commit is contained in:
parent
de646d94f7
commit
15d9fe43d6
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ import "internal/synctest"
|
|||
|
||||
// Run is deprecated.
|
||||
//
|
||||
// Deprecated: Use Test instead.
|
||||
// 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