Refactoring: rename header to common in MultiModuleLineMarkerTest
This commit is contained in:
@@ -22,8 +22,8 @@ import org.jetbrains.kotlin.config.TargetPlatformKind
|
|||||||
class MultiModuleLineMarkerTest : AbstractMultiModuleLineMarkerTest() {
|
class MultiModuleLineMarkerTest : AbstractMultiModuleLineMarkerTest() {
|
||||||
|
|
||||||
private fun doTest(vararg platforms: TargetPlatformKind<*>) {
|
private fun doTest(vararg platforms: TargetPlatformKind<*>) {
|
||||||
val header = module("header")
|
val commonModule = module("common")
|
||||||
header.createFacet(TargetPlatformKind.Common)
|
commonModule.createFacet(TargetPlatformKind.Common)
|
||||||
|
|
||||||
for (platform in platforms) {
|
for (platform in platforms) {
|
||||||
val path = when (platform) {
|
val path = when (platform) {
|
||||||
@@ -34,7 +34,7 @@ class MultiModuleLineMarkerTest : AbstractMultiModuleLineMarkerTest() {
|
|||||||
val platformModule = module(path)
|
val platformModule = module(path)
|
||||||
platformModule.createFacet(platform)
|
platformModule.createFacet(platform)
|
||||||
platformModule.enableMultiPlatform()
|
platformModule.enableMultiPlatform()
|
||||||
platformModule.addDependency(header)
|
platformModule.addDependency(commonModule)
|
||||||
}
|
}
|
||||||
|
|
||||||
checkHighlightingInAllFiles()
|
checkHighlightingInAllFiles()
|
||||||
|
|||||||
Reference in New Issue
Block a user