aboutsummaryrefslogtreecommitdiff
path: root/internal/lsp/cmd/test/suggested_fix.go
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-03-30 16:55:43 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-03-30 16:55:43 +0000
commit3225eca48f7ce16eb31b2dd5a170806c1214a49e (patch)
tree7e04d345c214f3efac3c4b86c7ec3e831c500437 /internal/lsp/cmd/test/suggested_fix.go
parent457aa020f87e3a763226dc76aa3459fd23d0aa11 (diff)
parentf10932f763d058b0dcb3acfb795c869996fef47b (diff)
downloadgolang-x-tools-3225eca48f7ce16eb31b2dd5a170806c1214a49e.tar.gz
Snap for 8383211 from f10932f763d058b0dcb3acfb795c869996fef47b to build-tools-release
Change-Id: I0969e0c20848f202469acc85c3681437b8b62fdc
Diffstat (limited to 'internal/lsp/cmd/test/suggested_fix.go')
-rw-r--r--internal/lsp/cmd/test/suggested_fix.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/lsp/cmd/test/suggested_fix.go b/internal/lsp/cmd/test/suggested_fix.go
index 160dcdf4d..c819e0517 100644
--- a/internal/lsp/cmd/test/suggested_fix.go
+++ b/internal/lsp/cmd/test/suggested_fix.go
@@ -24,7 +24,7 @@ func (r *runner) SuggestedFix(t *testing.T, spn span.Span, actionKinds []string,
args = append(args, actionKinds...)
got, stderr := r.NormalizeGoplsCmd(t, args...)
if stderr == "ExecuteCommand is not yet supported on the command line" {
- t.Skipf(stderr)
+ return // don't skip to keep the summary counts correct
}
want := string(r.data.Golden("suggestedfix_"+tests.SpanName(spn), filename, func() ([]byte, error) {
return []byte(got), nil