diff options
Diffstat (limited to 'src/test/java')
-rw-r--r-- | src/test/java/org/javacs/CodeLensTest.java | 4 | ||||
-rw-r--r-- | src/test/java/org/javacs/JavaCompilerServiceTest.java | 2 |
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 |