summaryrefslogtreecommitdiff
path: root/src/test/java/org/javacs/JavaCompilerServiceTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/org/javacs/JavaCompilerServiceTest.java')
-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 ec41d26..eb947a7 100644
--- a/src/test/java/org/javacs/JavaCompilerServiceTest.java
+++ b/src/test/java/org/javacs/JavaCompilerServiceTest.java
@@ -268,7 +268,7 @@ public class JavaCompilerServiceTest {
@Test
public void fixImports() {
var uri = resourceUri("MissingImport.java");
- var qualifiedNames = compiler.compileBatch(Collections.singleton(uri)).fixImports(uri);
+ var qualifiedNames = compiler.compileFile(uri).fixImports(uri);
assertThat(qualifiedNames, hasItem("java.util.List"));
}