testing: fix example for unexported identifier

Fixes #75540

Change-Id: I925f893d33660f0b08996d53cc9c564017232b39
Reviewed-on: https://go-review.googlesource.com/c/go/+/705456
Reviewed-by: Alan Donovan <adonovan@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
This commit is contained in:
Sean Liao 2025-09-19 11:27:55 +01:00
parent 51dc5bfe6c
commit b8af744360

View file

@ -30,9 +30,9 @@
// import "testing" // import "testing"
// //
// func TestAbs(t *testing.T) { // func TestAbs(t *testing.T) {
// got := Abs(-1) // got := abs(-1)
// if got != 1 { // if got != 1 {
// t.Errorf("Abs(-1) = %d; want 1", got) // t.Errorf("abs(-1) = %d; want 1", got)
// } // }
// } // }
// //