summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorGeorge Fraser <george@fivetran.com>2018-12-02 12:26:33 -0800
committerGeorge Fraser <george@fivetran.com>2018-12-02 12:26:33 -0800
commit8774319bfd11b2f04a7916f5192230d2434ebeac (patch)
treeae6758b2ade426eb524a75cf32286d99efc709eb /src/test
parent896a3eed2bcb624d1e552d08813a54a15b2cd1ac (diff)
downloadjava-language-server-8774319bfd11b2f04a7916f5192230d2434ebeac.zip
Fix test
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/org/javacs/CompletionsTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/java/org/javacs/CompletionsTest.java b/src/test/java/org/javacs/CompletionsTest.java
index 585efdf..2f300ee 100644
--- a/src/test/java/org/javacs/CompletionsTest.java
+++ b/src/test/java/org/javacs/CompletionsTest.java
@@ -748,8 +748,8 @@ public class CompletionsTest extends CompletionsBase {
var file = "/org/javacs/example/OverloadedMethod.java";
var detail = detail(file, 10, 26);
- assertThat("suggests empty method", detail, hasItem("of()"));
- assertThat("ksuggests one-arg method", detail, hasItem("of(e1)"));
+ assertThat("suggests empty method", detail, hasItem("List<E> of()"));
+ assertThat("suggests one-arg method", detail, hasItem("List<E> of(e1)"));
// assertThat("suggests vararg method", detail, hasItem("of(elements)"));
}