aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/race
diff options
context:
space:
mode:
authorcncal <flycalvin@qq.com>2020-04-30 04:19:25 +0000
committerIan Lance Taylor <iant@golang.org>2020-05-01 05:25:54 +0000
commite1d16843bdbf85c99bc963b7a343cbffa047e378 (patch)
tree3db29179f883e8cb5b70946d1703085b8781a3c9 /src/runtime/race
parent07cb63aae5629213a0f5c484a8d79ae4bc1026e6 (diff)
downloadgo-e1d16843bdbf85c99bc963b7a343cbffa047e378.tar.gz
go-e1d16843bdbf85c99bc963b7a343cbffa047e378.zip
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: ec97b4be3298f5595a5cd6109c311dcb35e06663 GitHub-Pull-Request: golang/go#38716 Reviewed-on: https://go-review.googlesource.com/c/go/+/230340 Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime/race')
-rw-r--r--src/runtime/race/testdata/select_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/race/testdata/select_test.go b/src/runtime/race/testdata/select_test.go
index 3827867687..9a43f9b954 100644
--- a/src/runtime/race/testdata/select_test.go
+++ b/src/runtime/race/testdata/select_test.go
@@ -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: