Support per files test directives

This commit is contained in:
Mikhael Bogdanov
2020-03-05 14:18:41 +01:00
committed by Mikhail Bogdanov
parent 34547b4e27
commit ab7e71fd68
29 changed files with 128 additions and 81 deletions
@@ -129,8 +129,8 @@ abstract class KotlinDescriptorTestCase : DescriptorTestCase() {
wholeFile.name,
wholeFileContents,
object : org.jetbrains.kotlin.test.TestFiles.TestFileFactoryNoModules<TestFile>() {
override fun create(fileName: String, text: String, directives: Map<String, String>): TestFile {
return TestFile(fileName, text)
override fun create(fileName: String, text: String, directives: Map<String, String?>): TestFile {
return TestFile(fileName, text, directives)
}
}
)