summaryrefslogtreecommitdiff
path: root/src/pkg/go/doc/testdata/testing.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/go/doc/testdata/testing.go')
-rw-r--r--src/pkg/go/doc/testdata/testing.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/go/doc/testdata/testing.go b/src/pkg/go/doc/testdata/testing.go
index c2499ad77..93ed494c3 100644
--- a/src/pkg/go/doc/testdata/testing.go
+++ b/src/pkg/go/doc/testdata/testing.go
@@ -130,7 +130,7 @@ type T struct {
// Fail marks the function as having failed but continues execution.
func (c *common) Fail() { c.failed = true }
-// Failed returns whether the function has failed.
+// Failed reports whether the function has failed.
func (c *common) Failed() bool { return c.failed }
// FailNow marks the function as having failed and stops its execution.