Skip to content

Commit

Permalink
Fix EditCallTest
Browse files Browse the repository at this point in the history
  • Loading branch information
fwcd committed Jan 18, 2025
1 parent d80de6c commit bcdf3ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/test/kotlin/org/javacs/kt/CompletionsTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ class EditCallTest : SingleFileTestFixture("completions", "EditCall.kt") {
val labels = completions.items.map { it.label }

assertThat(labels, hasItem(startsWith("println")))
assertThat(completions.items.find { it.label.startsWith("println") }, hasProperty("insertText", equalTo("println")))
assertThat(completions.items.find { it.label.startsWith("println") }, hasProperty("insertText", equalTo("println(\${1:message})")))
}
}

Expand Down

0 comments on commit bcdf3ac

Please sign in to comment.