From 8774319bfd11b2f04a7916f5192230d2434ebeac Mon Sep 17 00:00:00 2001 From: George Fraser Date: Sun, 2 Dec 2018 12:26:33 -0800 Subject: Fix test --- src/test/java/org/javacs/CompletionsTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/test') 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 of()")); + assertThat("suggests one-arg method", detail, hasItem("List of(e1)")); // assertThat("suggests vararg method", detail, hasItem("of(elements)")); } -- cgit v1.2.3