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:
@@ -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
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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,,
|
||||
|
||||
|
Reference in New Issue
Block a user