Merge branch 'master' into no-reformat-dialog-on-reformat-code-action
[idea/community.git] / java / java-tests / testSrc / com / intellij / codeInsight / actions / ReformatCodeActionTest.java
index 5d8e8c95caa92c686a535ba67e28ca30ee6ba790..09dff801a2f531915c8962a24dccb9d4df39b8a1 100644 (file)
@@ -58,7 +58,7 @@ public class ReformatCodeActionTest extends AbstractLayoutCodeProcessorTest {
     List<PsiFile> files = createTestFiles(srcDir, classNames);
     injectMockDialogFlags(new MockReformatFileSettings().setOptimizeImports(true));
 
-    performReformatActionOnModule(module, files.subList(0, 1));
+    performReformatActionOnModule(module, ContainerUtil.newArrayList(srcDir));
 
     checkFormationAndImportsOptimizationFor(files);
   }