-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gopls/internal/regtest: eliminate EmptyDiagnostics
It doesn't matter from the user's perspective whether gopls has sent empty diagnostics, or no diagnostics. As long as we use an AfterChange check (or have previously asserted that diagnostics are non-empty), there is no problem replacing the EmptyDiagnostics expectation with NoDiagnostics. Using this principle, eliminate uses of EmptyDiagnostics. Updates golang/go#39384 Change-Id: I5940c46bbb9943a930aeedbae74c3d3314b13574 Reviewed-on: https://go-review.googlesource.com/c/tools/+/461801 Run-TryBot: Robert Findley <rfindley@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Alan Donovan <adonovan@google.com> gopls-CI: kokoro <noreply+kokoro@google.com>
- Loading branch information
Showing
18 changed files
with
237 additions
and
286 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.