diff options
Diffstat (limited to 'src/test/java/org/javacs/JavaCompilerServiceTest.java')
-rw-r--r-- | src/test/java/org/javacs/JavaCompilerServiceTest.java | 2 |
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 f10c078..0e5fd4d 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.compileFile(uri).fixImports(); + var qualifiedNames = compiler.compileBatch(Collections.singleton(uri)).fixImports(uri); assertThat(qualifiedNames, hasItem("java.util.List")); } |