summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorGeorge Fraser <george@fivetran.com>2018-09-21 18:10:52 -0700
committerGeorge Fraser <george@fivetran.com>2018-09-21 18:10:52 -0700
commita4d9e7394f81d9a9865fbebabfb7b2e9b5de2852 (patch)
treec68f3c8a8dcfd8c6655a96ab84c790de619b93f0 /src/test
parenta87c19fbb3a9548dcabc3f37f71c347f7474900d (diff)
downloadjava-language-server-a4d9e7394f81d9a9865fbebabfb7b2e9b5de2852.zip
Better labels
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/org/javacs/JavaCompilerServiceTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/java/org/javacs/JavaCompilerServiceTest.java b/src/test/java/org/javacs/JavaCompilerServiceTest.java
index e1f43fd..764da38 100644
--- a/src/test/java/org/javacs/JavaCompilerServiceTest.java
+++ b/src/test/java/org/javacs/JavaCompilerServiceTest.java
@@ -72,7 +72,7 @@ public class JavaCompilerServiceTest {
else if (c.packagePart != null) result.add(c.packagePart.name);
else if (c.keyword != null) result.add(c.keyword);
else if (c.notImportedClass != null) result.add(Parser.lastName(c.notImportedClass));
- else if (c.snippet != null) result.add(c.snippet);
+ else if (c.snippet != null) result.add(c.snippet.snippet);
}
return result;
}