Attempt to fix some inspection tests

This commit is contained in:
Dmitry Gridin
2019-07-05 13:01:25 +07:00
parent 8a569cc698
commit f9b53da0fa
2 changed files with 2 additions and 3 deletions
@@ -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, )
@@ -31,7 +31,7 @@ class CoroutineNonBlockingContextDetectionTest : KotlinLightCodeInsightFixtureTe
}
fun testCoroutineContextCheck() {
myFixture.configureByFiles("ContextCheck.kt")
myFixture.configureByFile("ContextCheck.kt")
myFixture.testHighlighting(true, false, false, "ContextCheck.kt")
}