summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
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;
}