aboutsummaryrefslogtreecommitdiff
path: root/src/testing/testing.go
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2022-10-28 12:33:49 -0700
committerGopher Robot <gobot@golang.org>2022-10-28 20:33:17 +0000
commit4c69d0eeb869cdc987e35d09a052a0e0320c0c96 (patch)
tree0709fd5bb06e11d80c2f398b380cdb1311c7e330 /src/testing/testing.go
parent42f334d677d5d50ba7ddca08a30451b33e78e61b (diff)
downloadgo-4c69d0eeb869cdc987e35d09a052a0e0320c0c96.tar.xz
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 <iant@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Bryan Mills <bcmills@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Auto-Submit: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/testing/testing.go')
-rw-r--r--src/testing/testing.go2
1 files changed, 1 insertions, 1 deletions
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)
// }
// })
// }