[Test] Fix various tests according to switching to kotlin 1.5
Original commit: 4f8b12c96f
This commit is contained in:
@@ -458,7 +458,7 @@ open class KotlinJpsBuildTest : KotlinJpsBuildTestBase() {
|
|||||||
assertEquals(1, myProject.modules.size)
|
assertEquals(1, myProject.modules.size)
|
||||||
val module = myProject.modules.first()
|
val module = myProject.modules.first()
|
||||||
val args = module.kotlinCompilerArguments
|
val args = module.kotlinCompilerArguments
|
||||||
args.apiVersion = "1.2"
|
args.apiVersion = "1.4"
|
||||||
myProject.kotlinCommonCompilerArguments = args
|
myProject.kotlinCommonCompilerArguments = args
|
||||||
|
|
||||||
buildAllModules().assertSuccessful()
|
buildAllModules().assertSuccessful()
|
||||||
|
|||||||
+1
-1
@@ -458,7 +458,7 @@ open class KotlinJpsBuildTest : KotlinJpsBuildTestBase() {
|
|||||||
assertEquals(1, myProject.modules.size)
|
assertEquals(1, myProject.modules.size)
|
||||||
val module = myProject.modules.first()
|
val module = myProject.modules.first()
|
||||||
val args = module.kotlinCompilerArguments
|
val args = module.kotlinCompilerArguments
|
||||||
args.apiVersion = "1.2"
|
args.apiVersion = "1.4"
|
||||||
myProject.kotlinCommonCompilerArguments = args
|
myProject.kotlinCommonCompilerArguments = args
|
||||||
|
|
||||||
buildAllModules().assertSuccessful()
|
buildAllModules().assertSuccessful()
|
||||||
|
|||||||
Reference in New Issue
Block a user