mirror of https://github.com/golang/go.git
Add check to make sure that the output comment block in a testable example is the last comment block. If the output comment block is not the last comment block then the output will not be tested and the test will always pass. Fixes: golang/go#48362 Change-Id: Iae93423d49ffc35019a1bc71e2c8d4a398301cd1 Reviewed-on: https://go-review.googlesource.com/c/tools/+/351553 Reviewed-by: Zvonimir Pavlinovic <zpavlinovic@google.com> Reviewed-by: Jay Conrod <jayconrod@google.com> Run-TryBot: Zvonimir Pavlinovic <zpavlinovic@google.com> Run-TryBot: Jay Conrod <jayconrod@google.com> gopls-CI: kokoro <noreply+kokoro@google.com> Trust: Jay Conrod <jayconrod@google.com> Trust: Heschi Kreinick <heschi@google.com> |
||
|---|---|---|
| .. | ||
| analysis | ||
| ast | ||
| buildutil | ||
| callgraph | ||
| cfg | ||
| expect | ||
| gccgoexportdata | ||
| gcexportdata | ||
| internal | ||
| loader | ||
| packages | ||
| pointer | ||
| ssa | ||
| types | ||
| vcs | ||