1
0
mirror of https://github.com/golang/go synced 2024-11-05 16:26:11 -07:00
go/cmd/fiximports
Jay Conrod 210e553fe1 cmd/fiximports: fix 'go list' error formatting
Error positions should be printed, when specified.

Also, made main_test less picky about whitespace before and after
error output.

After this change, the test for cmd/fiximports should pass before and
after CL 210938.

Updates golang/go#36087

Change-Id: I681d1ee07f7f19a0d9716b88678e2737f4c691de
Reviewed-on: https://go-review.googlesource.com/c/tools/+/211337
Run-TryBot: Jay Conrod <jayconrod@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Michael Matloob <matloob@golang.org>
2019-12-17 20:38:50 +00:00
..
testdata/src cmd/fiximports: a tool to rewrite import paths to match import comments. 2015-05-13 15:07:09 +00:00
main_test.go cmd/fiximports: fix 'go list' error formatting 2019-12-17 20:38:50 +00:00
main.go cmd/fiximports: fix 'go list' error formatting 2019-12-17 20:38:50 +00:00