go/go
Ben Kraft 567bb5a4fa go/analysis/analysistest: fix issue in RunWithSuggestedFixes on a package with tests
The issue is described further in golang/go#40574.  The fix is simply to do the
suggested-fixes checking on each result separately.  We still get
duplicate messages, which is arguably the correct behavior but certainly
not so bad, and we no longer get a bunch of spurious errors.

Fixes golang/go#40574.

Change-Id: I3540070e7ce2f20e65269f166b941e9c90436d01
GitHub-Last-Rev: 706ca751535dab820388fa25e7452f103c814c64
GitHub-Pull-Request: golang/tools#245
Reviewed-on: https://go-review.googlesource.com/c/tools/+/246737
Trust: Rebecca Stambler <rstambler@golang.org>
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Michael Matloob <matloob@golang.org>
2020-10-06 17:48:53 +00:00
..
analysis go/analysis/analysistest: fix issue in RunWithSuggestedFixes on a package with tests 2020-10-06 17:48:53 +00:00
ast go/ast/inspector: impose maximum capacity 2020-04-10 18:16:43 +00:00
buildutil all: fix more typos 2019-09-11 15:13:14 +00:00
callgraph all: add a space before +build in build tag comments 2019-09-08 12:23:18 +00:00
cfg all: fix some staticcheck errors 2020-01-29 04:53:41 +00:00
expect all: update dependencies in go.mod file 2020-07-06 23:19:48 +00:00
gccgoexportdata
gcexportdata Revert "go/internal/gcimporter: remove support for binary export data" 2020-05-26 20:26:39 +00:00
internal all: replace 'the the ' with 'the ' 2020-09-21 21:00:52 +00:00
loader go/loader: remove check on ioutil.TestTempFile in TestStdlib 2020-04-13 16:19:37 +00:00
packages all: replace 'the the ' with 'the ' 2020-09-21 21:00:52 +00:00
pointer all: fix some staticcheck errors 2020-01-29 04:53:41 +00:00
ssa go/ssa: implement missing testing.testDeps SetPanicOnExit0 method 2020-09-02 15:16:23 +00:00
types go/types/objectpath: cache result of call to scope.Names 2020-05-05 02:31:15 +00:00
vcs go/vcs: ignore "mod" VCS type 2019-05-06 14:53:03 +00:00