diff options
author | George Fraser <george@fivetran.com> | 2018-12-31 16:26:13 -0800 |
---|---|---|
committer | George Fraser <george@fivetran.com> | 2018-12-31 16:26:13 -0800 |
commit | 9c8b908f5f4b2395a14652a9fcf3a2a20006e621 (patch) | |
tree | 9d95c08677dd1acdded80297c3fe1e698ffb9d14 /src/test | |
parent | 7c990c76519faba1ba234391ed3714aef8f1357b (diff) | |
download | java-language-server-9c8b908f5f4b2395a14652a9fcf3a2a20006e621.zip |
Fix
Diffstat (limited to 'src/test')
-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 |