summaryrefslogtreecommitdiff
path: root/src/test/java/org/javacs/PtrTest.java
diff options
context:
space:
mode:
authorGeorge Fraser <george@fivetran.com>2019-01-08 20:05:17 -0800
committerGeorge Fraser <george@fivetran.com>2019-01-08 20:05:17 -0800
commit07a4b8b44b492d18cd759022395eb3a593f42f75 (patch)
treef8d9eb874d686ed5961791a8e0c1c0e6b55b35da /src/test/java/org/javacs/PtrTest.java
parent727bd8341afc689c842385a234647b8f7b22de21 (diff)
downloadjava-language-server-07a4b8b44b492d18cd759022395eb3a593f42f75.zip
Reduce passing of contents
Diffstat (limited to 'src/test/java/org/javacs/PtrTest.java')
-rw-r--r--src/test/java/org/javacs/PtrTest.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/java/org/javacs/PtrTest.java b/src/test/java/org/javacs/PtrTest.java
index 8dcf110..379df59 100644
--- a/src/test/java/org/javacs/PtrTest.java
+++ b/src/test/java/org/javacs/PtrTest.java
@@ -11,8 +11,7 @@ public class PtrTest {
static JavaLanguageServer server = LanguageServerFixture.getJavaLanguageServer();
static String file = "/org/javacs/example/Ptrs.java";
static URI uri = FindResource.uri(file);
- static String contents = FindResource.contents(file);
- static CompileFile compile = server.compiler.compileFile(uri, contents);
+ static CompileFile compile = server.compiler.compileFile(uri);
@Test
public void classPtr() {