KT-44741: Update test data to use companion object with custom name

Test: Existing IncrementalJvmCompilerRunnerTestGenerated.PureKotlin#testCompanionConstantChanged
    and similar *.PureKotlin#testCompanionConstantChanged tests
This commit is contained in:
Hung Nguyen
2022-01-04 11:51:21 +00:00
committed by nataliya.valtman
parent 070f537ee9
commit 9e1a771d57
4 changed files with 4 additions and 4 deletions
@@ -1,7 +1,7 @@
package test
class A {
companion object {
companion object CompanionObject {
const val CONSTANT_VALUE = 16
}
}
@@ -1,7 +1,7 @@
package test
class A {
companion object {
companion object CompanionObject {
const val CONSTANT_VALUE = 17
}
}
@@ -1,6 +1,6 @@
package foo
import test.A.Companion.CONSTANT_VALUE
import test.A.CompanionObject.CONSTANT_VALUE
class B {
companion object {
@@ -1,6 +1,6 @@
package foo
import test.A.Companion.CONSTANT_VALUE
import test.A.CompanionObject.CONSTANT_VALUE
fun importCompanionConstant() = "Import companion constant: ${CONSTANT_VALUE}"