diff --git a/compiler/tests/org/jetbrains/kotlin/util/KotlinVersionsTest.kt b/compiler/tests/org/jetbrains/kotlin/util/KotlinVersionsTest.kt index 33f1001036f..7739c77676e 100644 --- a/compiler/tests/org/jetbrains/kotlin/util/KotlinVersionsTest.kt +++ b/compiler/tests/org/jetbrains/kotlin/util/KotlinVersionsTest.kt @@ -74,8 +74,8 @@ class KotlinVersionsTest : KtUsefulTestCase() { ) val latestStableVersion = LanguageVersion.LATEST_STABLE.versionString.toVersion("LanguageVersion.LATEST_STABLE") - // TODO: uncomment this addition after bootstrapping in KT-61951 - //versions.add(latestStableVersion) + // Note: comment the next line before a language version update + versions.add(latestStableVersion) if (versions.any { v1 -> versions.any { v2 -> !v1.isConsistentWith(v2) } }) { Assert.fail( @@ -84,13 +84,13 @@ class KotlinVersionsTest : KtUsefulTestCase() { ) } - // TODO: remove/comment this check after bootstrapping in KT-61951 - if (versions.any { it.isConsistentWith(latestStableVersion) }) { - Assert.fail( - "Some versions are consistent with LATEST_STABLE ${latestStableVersion.versionString}. Please edit KotlinVersionsTest accordingly:\n\n" + - versions.joinToString(separator = "\n") { with(it) { "$versionString ($source)" } } - ) - } + // Note: uncomment this fragment before a language version update +// if (versions.any { it.isConsistentWith(latestStableVersion) }) { +// Assert.fail( +// "Some versions are consistent with LATEST_STABLE ${latestStableVersion.versionString}. Please edit KotlinVersionsTest accordingly:\n\n" + +// versions.joinToString(separator = "\n") { with(it) { "$versionString ($source)" } } +// ) +// } } fun testMavenProjectVersionsAreEqual() {