Fix error message for SUPERTYPE_IS_SUSPEND_FUNCTION_TYPE
#KT-48907 Fixed
This commit is contained in:
+1
-1
@@ -68,7 +68,7 @@ class SimpleKotlinGradleIT : KGPBaseTest() {
|
||||
fun testLanguageVersion(gradleVersion: GradleVersion) {
|
||||
project("languageVersion", gradleVersion) {
|
||||
buildAndFail("build") {
|
||||
assertOutputContains("Suspend function type is not allowed as supertypes")
|
||||
assertOutputContains("Suspend function type is allowed as a supertype only since version 1.6")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
source(new File(basedir, "../../../verify-common.bsh").getAbsolutePath());
|
||||
|
||||
assertBuildLogHasLine("[INFO] BUILD FAILURE");
|
||||
assertBuildLogHasLineThatContains("Suspend function type is not allowed as supertypes");
|
||||
assertBuildLogHasLineThatContains("Suspend function type is allowed as a supertype only since version 1.6");
|
||||
|
||||
Reference in New Issue
Block a user