Skip to content

Commit 3c245da

Browse files
cuonglmgopherbot
authored andcommitted
gopls: fix diagnostics integration test
CL 649355 improved simplifyrange suggested fix, thus the corresponding diagnostics integration test must be updated, too. Change-Id: Ief33cc4e9ab3d760c1af28c94102638f6d2b69e8 Reviewed-on: https://go-review.googlesource.com/c/tools/+/650556 Reviewed-by: Michael Knyszek <[email protected]> Auto-Submit: Alan Donovan <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Auto-Submit: Cuong Manh Le <[email protected]> Reviewed-by: Alan Donovan <[email protected]>
1 parent e6754ce commit 3c245da

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
@@ -562,7 +562,7 @@ func _() {
562562
env.OpenFile("main.go")
563563
var d protocol.PublishDiagnosticsParams
564564
env.AfterChange(
565-
Diagnostics(AtPosition("main.go", 5, 8)),
565+
Diagnostics(AtPosition("main.go", 5, 6)),
566566
ReadDiagnostics("main.go", &d),
567567
)
568568
if fixes := env.GetQuickFixes("main.go", d.Diagnostics); len(fixes) != 0 {

0 commit comments

Comments
 (0)