summaryrefslogtreecommitdiff
path: root/src/test/java/org/javacs/CodeLensTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/org/javacs/CodeLensTest.java')
-rw-r--r--src/test/java/org/javacs/CodeLensTest.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/java/org/javacs/CodeLensTest.java b/src/test/java/org/javacs/CodeLensTest.java
index 61b8095..48f8803 100644
--- a/src/test/java/org/javacs/CodeLensTest.java
+++ b/src/test/java/org/javacs/CodeLensTest.java
@@ -76,8 +76,7 @@ public class CodeLensTest {
public void signatureMatches() {
var file = "/org/javacs/example/ConstructorRefs.java";
var uri = FindResource.uri(file);
- var contents = FindResource.contents(file);
- var compile = server.compiler.compileFile(uri, contents);
+ var compile = server.compiler.compileFile(uri);
var signatureMatches = compile.signatureMatches();
var good = List.of(new Ptr("org.javacs.example/ConstructorRefs#<init>(int)"));