Attempt to fix some inspection tests
This commit is contained in:
+1
-2
@@ -1,7 +1,6 @@
|
||||
// PROBLEM: none
|
||||
// WITH_RUNTIME
|
||||
// ERROR: No value passed for parameter 'second'
|
||||
// ERROR: Type inference failed: Not enough information to infer parameter B in constructor Pair<out A, out B>(first: A, second: B)<br>Please specify it explicitly.<br>
|
||||
// DISABLE-ERRORS
|
||||
import kotlin.Pair
|
||||
fun test() {
|
||||
val p = <caret>Pair(1, )
|
||||
|
||||
+1
-1
@@ -31,7 +31,7 @@ class CoroutineNonBlockingContextDetectionTest : KotlinLightCodeInsightFixtureTe
|
||||
}
|
||||
|
||||
fun testCoroutineContextCheck() {
|
||||
myFixture.configureByFiles("ContextCheck.kt")
|
||||
myFixture.configureByFile("ContextCheck.kt")
|
||||
myFixture.testHighlighting(true, false, false, "ContextCheck.kt")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user