Source file src/testing/synctest/run.go

     1  // Copyright 2025 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  //go:build goexperiment.synctest
     6  
     7  package synctest
     8  
     9  import "internal/synctest"
    10  
    11  // Run is deprecated.
    12  //
    13  // Deprecated: Use Test instead.
    14  func Run(f func()) {
    15  	synctest.Run(f)
    16  }
    17  

View as plain text