mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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:
parent
51dc5bfe6c
commit
b8af744360
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
//
|
//
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue