From eaf6650c2bff2fe466621f8fa23844dcbbdbcee8 Mon Sep 17 00:00:00 2001 From: jjpinto Date: Fri, 26 Dec 2025 14:48:24 +0000 Subject: [PATCH] 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 --- test/heapsampling.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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:] { -- 2.52.0