]> Cypherpunks repositories - gostls13.git/commitdiff
runtime/race: fix comment in select_test.TestNoRaceSelect1
authorcncal <flycalvin@qq.com>
Thu, 30 Apr 2020 04:19:25 +0000 (04:19 +0000)
committerIan Lance Taylor <iant@golang.org>
Fri, 1 May 2020 05:25:54 +0000 (05:25 +0000)
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>
src/runtime/race/testdata/select_test.go

index 382786768759cc062eacf240188a19dd930807c9..9a43f9b9540c6fecc57a0209c3ce58935db476d1 100644 (file)
@@ -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: