diff options
| author | Roger Peppe <rogpeppe@gmail.com> | 2018-07-20 11:31:39 +0100 |
|---|---|---|
| committer | Andrew Bonventre <andybons@golang.org> | 2018-07-31 16:11:48 +0000 |
| commit | 1a5350e123e9ef8ce4fb27470e58a4bb58a445f0 (patch) | |
| tree | 888fa230da894865a6ae18774004d519c20cc307 /src/syscall | |
| parent | 5332b5e75acdd17c6d0afe84c014be8528765fe2 (diff) | |
| download | go-1a5350e123e9ef8ce4fb27470e58a4bb58a445f0.tar.xz | |
go/doc: do not treat methods as test functions
The example code was treating a method starting with Test
as a test function when considering whether to produce
a whole-file example or not. As a method can never be
a test function, this isn't correct.
Change-Id: Idd8ec9eaf0904af076e941d7fe7d967f6b7eef78
Reviewed-on: https://go-review.googlesource.com/125257
Reviewed-by: Daniel Martà <mvdan@mvdan.cc>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Andrew Bonventre <andybons@golang.org>
Run-TryBot: Daniel Martà <mvdan@mvdan.cc>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/syscall')
0 files changed, 0 insertions, 0 deletions
