summaryrefslogtreecommitdiff
path: root/internal/lsp/postprocess_indent_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/lsp/postprocess_indent_test.go')
-rw-r--r--internal/lsp/postprocess_indent_test.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/internal/lsp/postprocess_indent_test.go b/internal/lsp/postprocess_indent_test.go
index 4b4ad2a..b546068 100644
--- a/internal/lsp/postprocess_indent_test.go
+++ b/internal/lsp/postprocess_indent_test.go
@@ -2,13 +2,12 @@ package lsp
import "testing"
-func TestPostProcessCompletion_IndentWithDoubleSemicolon(t *testing.T) {
+func TestPostProcessCompletion_IndentWithDoubleOpen(t *testing.T) {
s := newTestServer()
- cleaned := s.postProcessCompletion("a\nb", "", " ;;gen;")
+ 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)
}
}
-