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>
This commit is contained in:
cuishuang 2024-06-02 00:51:35 +08:00 committed by Gopher Robot
parent 9b43bfbc51
commit 71751350b0
6 changed files with 7 additions and 7 deletions

View file

@ -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