Attempt to fix some inspection tests
This commit is contained in:
+1
-2
@@ -1,7 +1,6 @@
|
|||||||
// PROBLEM: none
|
// PROBLEM: none
|
||||||
// WITH_RUNTIME
|
// WITH_RUNTIME
|
||||||
// ERROR: No value passed for parameter 'second'
|
// DISABLE-ERRORS
|
||||||
// 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>
|
|
||||||
import kotlin.Pair
|
import kotlin.Pair
|
||||||
fun test() {
|
fun test() {
|
||||||
val p = <caret>Pair(1, )
|
val p = <caret>Pair(1, )
|
||||||
|
|||||||
+1
-1
@@ -31,7 +31,7 @@ class CoroutineNonBlockingContextDetectionTest : KotlinLightCodeInsightFixtureTe
|
|||||||
}
|
}
|
||||||
|
|
||||||
fun testCoroutineContextCheck() {
|
fun testCoroutineContextCheck() {
|
||||||
myFixture.configureByFiles("ContextCheck.kt")
|
myFixture.configureByFile("ContextCheck.kt")
|
||||||
myFixture.testHighlighting(true, false, false, "ContextCheck.kt")
|
myFixture.testHighlighting(true, false, false, "ContextCheck.kt")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user