summaryrefslogtreecommitdiff
path: root/src/test/java
diff options
context:
space:
mode:
authorGeorge Fraser <george@fivetran.com>2018-12-31 16:26:13 -0800
committerGeorge Fraser <george@fivetran.com>2018-12-31 16:26:13 -0800
commit9c8b908f5f4b2395a14652a9fcf3a2a20006e621 (patch)
tree9d95c08677dd1acdded80297c3fe1e698ffb9d14 /src/test/java
parent7c990c76519faba1ba234391ed3714aef8f1357b (diff)
downloadjava-language-server-9c8b908f5f4b2395a14652a9fcf3a2a20006e621.zip
Fix
Diffstat (limited to 'src/test/java')
-rw-r--r--src/test/java/org/javacs/CodeLensTest.java4
-rw-r--r--src/test/java/org/javacs/JavaCompilerServiceTest.java2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/test/java/org/javacs/CodeLensTest.java b/src/test/java/org/javacs/CodeLensTest.java
index b77afc6..441bb30 100644
--- a/src/test/java/org/javacs/CodeLensTest.java
+++ b/src/test/java/org/javacs/CodeLensTest.java
@@ -61,8 +61,8 @@ public class CodeLensTest {
assertThat(lenses, not(empty()));
var titles = titles(lenses);
- assertThat(titles, hasItem("4:2 references"));
- assertThat(titles, hasItem("6:2 references"));
+ assertThat(titles, hasItem("4:1 references"));
+ assertThat(titles, hasItem("6:1 references"));
}
@Test
diff --git a/src/test/java/org/javacs/JavaCompilerServiceTest.java b/src/test/java/org/javacs/JavaCompilerServiceTest.java
index 69d032b..31339c9 100644
--- a/src/test/java/org/javacs/JavaCompilerServiceTest.java
+++ b/src/test/java/org/javacs/JavaCompilerServiceTest.java
@@ -276,7 +276,7 @@ public class JavaCompilerServiceTest {
var key = kv.getKey().toString();
stringify.put(key, kv.getValue());
}
- assertThat(stringify, hasEntry("GotoDefinition.goToHere", 1));
+ assertThat(stringify, hasEntry("GotoDefinition.goToHere()", 1));
}
@Test