-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
go/analysis/passes/tests: check example output
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 <[email protected]> Reviewed-by: Jay Conrod <[email protected]> Run-TryBot: Zvonimir Pavlinovic <[email protected]> Run-TryBot: Jay Conrod <[email protected]> gopls-CI: kokoro <[email protected]> Trust: Jay Conrod <[email protected]> Trust: Heschi Kreinick <[email protected]>
- Loading branch information
Showing
2 changed files
with
97 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters