aboutsummaryrefslogtreecommitdiff
path: root/src/go/doc/example_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/go/doc/example_test.go')
-rw-r--r--src/go/doc/example_test.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/go/doc/example_test.go b/src/go/doc/example_test.go
index cf1b702549e..21b71290f7d 100644
--- a/src/go/doc/example_test.go
+++ b/src/go/doc/example_test.go
@@ -307,6 +307,9 @@ func (X) TestBlah() {
func (X) BenchmarkFoo() {
}
+func (X) FuzzFoo() {
+}
+
func Example() {
fmt.Println("Hello, world!")
// Output: Hello, world!
@@ -326,6 +329,9 @@ func (X) TestBlah() {
func (X) BenchmarkFoo() {
}
+func (X) FuzzFoo() {
+}
+
func main() {
fmt.Println("Hello, world!")
}