diff options
author | George Fraser <george@fivetran.com> | 2019-01-08 20:50:25 -0800 |
---|---|---|
committer | George Fraser <george@fivetran.com> | 2019-01-08 20:50:25 -0800 |
commit | 04e4f359cb80c7b8e450103dc7331f6deb363872 (patch) | |
tree | b164426b6d85ba9bdcca10205eb395105efb2c47 /src/test/java/org | |
parent | 938fce4f8d2630d456caea03b0c178508680e945 (diff) | |
download | java-language-server-04e4f359cb80c7b8e450103dc7331f6deb363872.zip |
Fixes
Diffstat (limited to 'src/test/java/org')
-rw-r--r-- | src/test/java/org/javacs/GotoTest.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/java/org/javacs/GotoTest.java b/src/test/java/org/javacs/GotoTest.java index 6587eca..5eb0a52 100644 --- a/src/test/java/org/javacs/GotoTest.java +++ b/src/test/java/org/javacs/GotoTest.java @@ -168,6 +168,13 @@ public class GotoTest { assertThat(doGoto(file, 5, 22), empty()); } + @Test + public void packagePrivate() { + var suggestions = doGoto(file, 50, 42); + + assertThat(suggestions, hasItem("GotoPackagePrivate.java:4")); + } + private static final JavaLanguageServer server = LanguageServerFixture.getJavaLanguageServer(); private List<String> doGoto(String file, int row, int column) { |