Update test data, unmute test

Now behavior is the same as in OI for these cases.
 The behavior was changed in 100a6f70ca
This commit is contained in:
Mikhail Zarechenskiy
2020-07-17 07:46:55 +03:00
parent a05681001f
commit a6e58edfb9
3 changed files with 3 additions and 4 deletions
@@ -1,7 +1,7 @@
// COMPILER_ARGUMENTS: -XXLanguage:+NewInference
// WITH_RUNTIME
@Throws(Exception::class)
@Throws(Throwable::class)
fun a(b: Boolean) {
throw if (b) RuntimeException() else Exception()
}
+2 -2
View File
@@ -1,5 +1,5 @@
class TestNumberConversionsInTernary {
fun intOrDoubleAsDouble(flag: Boolean, x: Int, y: Double): Double {
return (if (flag) x else y).toDouble()
return if (flag) x.toDouble() else y
}
}
}
-1
View File
@@ -34,7 +34,6 @@ org.jetbrains.kotlin.idea.maven.MavenMigrateTest.testMigrateApiAndLanguageVersio
org.jetbrains.kotlin.idea.maven.configuration.MavenConfigureProjectByChangingFileTestGenerated.Jvm.testWithJava9ModuleInfo, Probably test data should be updated,,
org.jetbrains.kotlin.idea.quickfix.DeprecatedSymbolUsageFixSpecialTest.testDefaultParameterValuesFromLibrary, Always red because of additional import,, FLAKY
org.jetbrains.kotlin.idea.quickfix.QuickFixMultiModuleTestGenerated.CreateActual.testWithTestDummy, Very flaky on teamcity,, FLAKY
org.jetbrains.kotlin.idea.quickfix.QuickFixTestGenerated.CreateFromUsage.CreateClass.CallExpression.testCallInWhenEntry, KT-35728,,
org.jetbrains.kotlin.idea.quickfix.QuickFixTestGenerated.Libraries.testJunit, ERROR: Couldn't find the following libraries,,
org.jetbrains.kotlin.idea.quickfix.QuickFixTestGenerated.Libraries.testTestNG, ERROR: Couldn't find the following libraries,,
org.jetbrains.kotlin.idea.quickfix.QuickFixTestGenerated.ObsoleteKotlinJsPackages.testKotlinDomAndBrowserImport, Always red because UAST does not work with JS,,
1 Test key Issue State (optional: MUTE or FAIL) Status (optional: FLAKY)
34 org.jetbrains.kotlin.idea.maven.configuration.MavenConfigureProjectByChangingFileTestGenerated.Jvm.testWithJava9ModuleInfo Probably test data should be updated
35 org.jetbrains.kotlin.idea.quickfix.DeprecatedSymbolUsageFixSpecialTest.testDefaultParameterValuesFromLibrary Always red because of additional import FLAKY
36 org.jetbrains.kotlin.idea.quickfix.QuickFixMultiModuleTestGenerated.CreateActual.testWithTestDummy Very flaky on teamcity FLAKY
org.jetbrains.kotlin.idea.quickfix.QuickFixTestGenerated.CreateFromUsage.CreateClass.CallExpression.testCallInWhenEntry KT-35728
37 org.jetbrains.kotlin.idea.quickfix.QuickFixTestGenerated.Libraries.testJunit ERROR: Couldn't find the following libraries
38 org.jetbrains.kotlin.idea.quickfix.QuickFixTestGenerated.Libraries.testTestNG ERROR: Couldn't find the following libraries
39 org.jetbrains.kotlin.idea.quickfix.QuickFixTestGenerated.ObsoleteKotlinJsPackages.testKotlinDomAndBrowserImport Always red because UAST does not work with JS