aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/rangefunc/rangefunc_test.go
diff options
context:
space:
mode:
authorcuishuang <imcusg@gmail.com>2024-06-02 00:51:35 +0800
committerGopher Robot <gobot@golang.org>2024-06-03 14:56:25 +0000
commit71751350b0de7e090d76c9ea54fa9ceeeef6709a (patch)
treebedbc2c61cfa4ea56ee26eae590917af250e7cc9 /src/cmd/compile/internal/rangefunc/rangefunc_test.go
parent9b43bfbc51c469ec13fca24960834a75b2bf66eb (diff)
downloadgo-71751350b0de7e090d76c9ea54fa9ceeeef6709a.tar.xz
all: make function comments match function names
Change-Id: Ideb9ef00e7bc660b005fc080973fd9f3d36c5a1f Reviewed-on: https://go-review.googlesource.com/c/go/+/589536 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Michael Knyszek <mknyszek@google.com> Run-TryBot: shuang cui <imcusg@gmail.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/cmd/compile/internal/rangefunc/rangefunc_test.go')
-rw-r--r--src/cmd/compile/internal/rangefunc/rangefunc_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/compile/internal/rangefunc/rangefunc_test.go b/src/cmd/compile/internal/rangefunc/rangefunc_test.go
index cd180f95a1..97ab254395 100644
--- a/src/cmd/compile/internal/rangefunc/rangefunc_test.go
+++ b/src/cmd/compile/internal/rangefunc/rangefunc_test.go
@@ -1407,7 +1407,7 @@ func TestVeryBad2(t *testing.T) {
}
}
-// TestCheckVeryBad checks the behavior of an extremely poorly behaved iterator,
+// TestVeryBadCheck checks the behavior of an extremely poorly behaved iterator,
// which also suppresses the exceptions from "Check"
func TestVeryBadCheck(t *testing.T) {
result := veryBadCheck([]int{10, 20, 30, 40}) // even length