diff options
| author | Joe Tsai <joetsai@digital-static.net> | 2019-08-16 10:42:18 -0700 |
|---|---|---|
| committer | Joe Tsai <thebrokentoaster@gmail.com> | 2019-08-16 19:54:55 +0000 |
| commit | bb5441de4893c0802e3445250fbcc13c7b8e105c (patch) | |
| tree | a6b9f0784763944813b05ef159b78df3ea27239d /src/encoding | |
| parent | 4983a0b75b40448d3245811ddcf682a9c86fc975 (diff) | |
| download | go-bb5441de4893c0802e3445250fbcc13c7b8e105c.tar.xz | |
cmd/gofmt: update TestRewrite to avoid future regressions
CL 162337 changed go/ast to better handle block comments,
but was reverted because it introduced an off-by-one bug.
This CL adds a test case to enforce the correct behavior
so that future changes do not break this again.
Updates #18929
Updates #33538
Change-Id: I2d25c139d007f8db1091b7a48b1dd20c584e2699
Reviewed-on: https://go-review.googlesource.com/c/go/+/190523
Run-TryBot: Joe Tsai <thebrokentoaster@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
Diffstat (limited to 'src/encoding')
0 files changed, 0 insertions, 0 deletions
