summaryrefslogtreecommitdiff
path: root/internal/lsp/postprocess_indent_test.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-09-06 10:56:27 +0300
committerPaul Buetow <paul@buetow.org>2025-09-06 10:56:27 +0300
commit320de746f7a2985b60c8564a0e65bdf231e840b7 (patch)
treee70bcf50813dba411afa2934e774383124bbc99e /internal/lsp/postprocess_indent_test.go
parent06247527d5170f329b454b42f59a3e4434ab1f4b (diff)
use gofumpt
Diffstat (limited to 'internal/lsp/postprocess_indent_test.go')
-rw-r--r--internal/lsp/postprocess_indent_test.go14
1 files changed, 7 insertions, 7 deletions
diff --git a/internal/lsp/postprocess_indent_test.go b/internal/lsp/postprocess_indent_test.go
index b546068..28f73a5 100644
--- a/internal/lsp/postprocess_indent_test.go
+++ b/internal/lsp/postprocess_indent_test.go
@@ -3,11 +3,11 @@ package lsp
import "testing"
func TestPostProcessCompletion_IndentWithDoubleOpen(t *testing.T) {
- s := newTestServer()
- cleaned := s.postProcessCompletion("a\nb", "", " >>gen>")
- // Expect each non-empty line to be indented by two spaces
- want := " a\n b"
- if cleaned != want {
- t.Fatalf("got %q want %q", cleaned, want)
- }
+ s := newTestServer()
+ cleaned := s.postProcessCompletion("a\nb", "", " >>gen>")
+ // Expect each non-empty line to be indented by two spaces
+ want := " a\n b"
+ if cleaned != want {
+ t.Fatalf("got %q want %q", cleaned, want)
+ }
}