From 4c69d0eeb869cdc987e35d09a052a0e0320c0c96 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 28 Oct 2022 12:33:49 -0700 Subject: [PATCH] testing: change Error to Errorf in comment Fixes #56479 Change-Id: I1d97eb3ea97304e429e178ad05cb9f861b2bce84 Reviewed-on: https://go-review.googlesource.com/c/go/+/446275 Run-TryBot: Ian Lance Taylor Reviewed-by: Ian Lance Taylor Run-TryBot: Ian Lance Taylor Reviewed-by: Bryan Mills TryBot-Result: Gopher Robot Auto-Submit: Ian Lance Taylor --- src/testing/testing.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/testing/testing.go b/src/testing/testing.go index 76dcc1ab73..235ab0adb7 100644 --- a/src/testing/testing.go +++ b/src/testing/testing.go @@ -263,7 +263,7 @@ // t.Skip() // } // if _, err := json.Marshal(v); err != nil { -// t.Error("Marshal: %v", err) +// t.Errorf("Marshal: %v", err) // } // }) // } -- 2.50.0