From: jjpinto Date: Fri, 26 Dec 2025 14:48:24 +0000 (+0000) Subject: test: use lower-case error message in heapsampling.go X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=eaf6650c2bff2fe466621f8fa23844dcbbdbcee8;p=gostls13.git test: use lower-case error message in heapsampling.go According to Go style guidelines, error strings should not be capitalized. Change-Id: Iacfb3f5192b7be40da99b6b7e4801f1ae1169efc GitHub-Last-Rev: 440396e0946edb18c422442ea235b5c57c2899af GitHub-Pull-Request: golang/go#76999 Reviewed-on: https://go-review.googlesource.com/c/go/+/732760 Auto-Submit: Keith Randall LUCI-TryBot-Result: Go LUCI Reviewed-by: Carlos Amedee Reviewed-by: Keith Randall Reviewed-by: Keith Randall --- diff --git a/test/heapsampling.go b/test/heapsampling.go index db93b253c9..0517d1bbb7 100644 --- a/test/heapsampling.go +++ b/test/heapsampling.go @@ -205,7 +205,7 @@ func checkAllocations(records []runtime.MemProfileRecord, leafFrame string, fram // consistently far from the expected value. func checkValue(fname string, ln int, testName string, want int64, got []int64) error { if got == nil { - return fmt.Errorf("Unexpected empty result") + return fmt.Errorf("unexpected empty result") } min, max := got[0], got[0] for _, g := range got[1:] {