mirror of https://github.com/golang/go.git
runtime/race: fix comment in select_test.TestNoRaceSelect1
selectGoImpl was merged into selectGo in https://golang.org/cl/37860.
Change-Id: I39985f37223743f1ea0aba9bee0e2708398a925c
GitHub-Last-Rev: ec97b4be32
GitHub-Pull-Request: golang/go#38716
Reviewed-on: https://go-review.googlesource.com/c/go/+/230340
Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
07cb63aae5
commit
e1d16843bd
|
|
@ -20,7 +20,7 @@ func TestNoRaceSelect1(t *testing.T) {
|
|||
x = 1
|
||||
// At least two channels are needed because
|
||||
// otherwise the compiler optimizes select out.
|
||||
// See comment in runtime/select.go:^func selectgoImpl.
|
||||
// See comment in runtime/select.go:^func selectgo.
|
||||
select {
|
||||
case c <- true:
|
||||
case c1 <- true:
|
||||
|
|
|
|||
Loading…
Reference in New Issue