Skip to content

Commit e325405

Browse files
findleyrgopherbot
authored andcommitted
gopls/internal/test/integration: ignore telemetry prompt in assertion
Fix a NoOutstandingWork assertion that was not ignoring the telemetry prompt. Fixes golang/go#65561 Change-Id: I194660965b681cc82e958dbbcf5df1404a576e09 Reviewed-on: https://go-review.googlesource.com/c/tools/+/563958 Auto-Submit: Robert Findley <[email protected]> Reviewed-by: Alan Donovan <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
1 parent 5de9cbe commit e325405

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gopls/internal/test/integration/diagnostics/diagnostics_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ func f() {
557557
// AdHoc views are not critical errors, but their missing import
558558
// diagnostics should specifically mention GOROOT or GOPATH (and not
559559
// modules).
560-
NoOutstandingWork(nil),
560+
NoOutstandingWork(IgnoreTelemetryPromptWork),
561561
Diagnostics(
562562
env.AtRegexp("a.go", `"mod.com`),
563563
WithMessage("GOROOT or GOPATH"),

0 commit comments

Comments
 (0)