[Testing] Remove duplicate logic, clean-up CheckerTestUtil

This commit is contained in:
Dmitry Savvinov
2019-04-23 20:30:03 +03:00
parent bcbbf4aba3
commit 7daf12fa6d
6 changed files with 37 additions and 37 deletions
@@ -330,7 +330,7 @@ abstract class BaseDiagnosticsTest : KotlinMultiFileTestWithJava<TestModule, Tes
ktFile,
filteredDiagnostics,
diagnosticToExpectedDiagnostic,
com.intellij.util.Function { file -> file.text },
{ file -> file.text },
uncheckedDiagnostics,
withNewInferenceDirective,
renderDiagnosticMessages