Support per files test directives
This commit is contained in:
committed by
Mikhail Bogdanov
parent
34547b4e27
commit
ab7e71fd68
+2
-2
@@ -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)
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user