Skip to content

Commit 2d33e1a

Browse files
committed
fmt
1 parent 8890d4c commit 2d33e1a

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

integrationtests/languages/go/diagnostics/diagnostics_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,4 +183,3 @@ func HelperFunction(value int) string {
183183
common.SnapshotTest(t, "go", "diagnostics", "dependency", result)
184184
})
185185
}
186-

integrationtests/languages/python/diagnostics/diagnostics_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,4 +206,4 @@ def get_items() -> List[str]:
206206

207207
common.SnapshotTest(t, "python", "diagnostics", "dependency", result)
208208
})
209-
}
209+
}

internal/tools/diagnostics.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ func GetDiagnosticsForFile(ctx context.Context, client *lsp.Client, filePath str
6565
diag.Range.Start.Line+1,
6666
diag.Range.Start.Character+1)
6767

68-
summary := fmt.Sprintf("%s at %s: %s",
68+
summary := fmt.Sprintf("%s at %s: %s",
6969
severity,
70-
location,
70+
location,
7171
diag.Message)
7272

7373
// Add source and code if available
@@ -148,4 +148,4 @@ func getSeverityString(severity protocol.DiagnosticSeverity) string {
148148
default:
149149
return "UNKNOWN"
150150
}
151-
}
151+
}

0 commit comments

Comments
 (0)