]> Cypherpunks repositories - gostls13.git/commit
cmd/api: make check even pickier about api/next/*.txt
authorDmitri Shuralyov <dmitshur@golang.org>
Thu, 1 Jun 2023 21:55:06 +0000 (17:55 -0400)
committerGopher Robot <gobot@golang.org>
Fri, 2 Jun 2023 16:04:40 +0000 (16:04 +0000)
commit0a68767864f622c5b4334a6369f611446e64d4ae
treec788ae166bff65f3611df244ae6dacf15613a54d
parentfdbc66d6ddd605c49c13261e423bb8a862eca3a2
cmd/api: make check even pickier about api/next/*.txt

As spotted in CL 499981, 3 out of 51 of the api/next/*.txt files
ended up with a blank line at the end. It's possible it would've
been more if human reviewers didn't catch them.

Since there's no formatter for these files, the only way to help
catch things is to make the check pickier (as done in CL 431335).
It can be loosened to let in useful blank lines if needed in the
future.

Change-Id: Iae7ee8e782b32707c576150914539ac4cc0faec4
Reviewed-on: https://go-review.googlesource.com/c/go/+/500115
Reviewed-by: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
src/cmd/api/api.go