Skip to content

Commit 7b45cae

Browse files
internal/cmd: add testEnv.NeedsTool for TestMCPVulncheckCommand
- test builder was failing due to lack of go in $PATH. Fixes golang/go#75445 Change-Id: I16aad25773d0df6f64ab4ff202b23a554b1270fc Reviewed-on: https://go-review.googlesource.com/c/tools/+/703356 Reviewed-by: Robert Findley <rfindley@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
1 parent eedf561 commit 7b45cae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gopls/internal/cmd/mcp_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,7 @@ func MyFun() {}
266266
}
267267

268268
func TestMCPVulncheckCommand(t *testing.T) {
269+
testenv.NeedsTool(t, "go")
269270
const proxyData = `
270271
-- example.com/vulnmod@v1.0.0/go.mod --
271272
module example.com/vulnmod

0 commit comments

Comments
 (0)