Skip to content

Commit d0d0552

Browse files
committed
fix: Suppress some linter errors
1 parent f6076be commit d0d0552

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

internal/lsp/handle_hover_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ func TestHandleHoverErr(t *testing.T) {
163163

164164
_, jsonErr := handler.handleHover(test.params)
165165

166-
if jsonErr == nil {
166+
if jsonErr == nil { // nolint: staticcheck
167167
t.Fatalf("expected error, got nil")
168168
}
169169

internal/lsp/handle_signature_help_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ func TestHandleSignatureHelpErr(t *testing.T) {
6868

6969
_, jsonErr := handler.handleSignatureHelp(test.params)
7070

71-
if jsonErr == nil {
71+
if jsonErr == nil { // nolint: staticcheck
7272
t.Fatalf("expected error, got nil")
7373
}
7474

0 commit comments

Comments
 (0)