From 201859be92d206bb4ab457540601beef2aa4b6f5 Mon Sep 17 00:00:00 2001 From: Nikolay Krasko Date: Mon, 28 Oct 2019 19:43:25 +0300 Subject: [PATCH] Mute RedundantRequireNotNullCall tests in 193 (KT-34672) --- .../redundantRequireNotNullCall/usedAsExpression.kt.fail.193 | 5 +++++ .../usedAsExpression2.kt.fail.193 | 5 +++++ .../usedAsExpression3.kt.fail.193 | 5 +++++ tests/mute.csv.193 | 5 ++++- 4 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 idea/testData/inspectionsLocal/redundantRequireNotNullCall/usedAsExpression.kt.fail.193 create mode 100644 idea/testData/inspectionsLocal/redundantRequireNotNullCall/usedAsExpression2.kt.fail.193 create mode 100644 idea/testData/inspectionsLocal/redundantRequireNotNullCall/usedAsExpression3.kt.fail.193 diff --git a/idea/testData/inspectionsLocal/redundantRequireNotNullCall/usedAsExpression.kt.fail.193 b/idea/testData/inspectionsLocal/redundantRequireNotNullCall/usedAsExpression.kt.fail.193 new file mode 100644 index 00000000000..84ee0c401a2 --- /dev/null +++ b/idea/testData/inspectionsLocal/redundantRequireNotNullCall/usedAsExpression.kt.fail.193 @@ -0,0 +1,5 @@ +Actual data differs from file content: usedAsExpression.kt.after expected:<...: Int) { + val a =[ i] +}> but was:<...: Int) { + val a =[] +}> \ No newline at end of file diff --git a/idea/testData/inspectionsLocal/redundantRequireNotNullCall/usedAsExpression2.kt.fail.193 b/idea/testData/inspectionsLocal/redundantRequireNotNullCall/usedAsExpression2.kt.fail.193 new file mode 100644 index 00000000000..b9660de3739 --- /dev/null +++ b/idea/testData/inspectionsLocal/redundantRequireNotNullCall/usedAsExpression2.kt.fail.193 @@ -0,0 +1,5 @@ +Actual data differs from file content: usedAsExpression2.kt.after expected:<... Int) { + println([i]) +}> but was:<... Int) { + println([]) +}> \ No newline at end of file diff --git a/idea/testData/inspectionsLocal/redundantRequireNotNullCall/usedAsExpression3.kt.fail.193 b/idea/testData/inspectionsLocal/redundantRequireNotNullCall/usedAsExpression3.kt.fail.193 new file mode 100644 index 00000000000..e4d38c8a41b --- /dev/null +++ b/idea/testData/inspectionsLocal/redundantRequireNotNullCall/usedAsExpression3.kt.fail.193 @@ -0,0 +1,5 @@ +Actual data differs from file content: usedAsExpression3.kt.after expected:<...st(i: Int) { + "${[i]}" +}> but was:<...st(i: Int) { + "${[]}" +}> \ No newline at end of file diff --git a/tests/mute.csv.193 b/tests/mute.csv.193 index 1ef477b12c2..b4effcb2253 100644 --- a/tests/mute.csv.193 +++ b/tests/mute.csv.193 @@ -7,4 +7,7 @@ org.jetbrains.kotlin.idea.inspections.CoroutineNonBlockingContextDetectionTest.t org.jetbrains.kotlin.idea.inspections.CoroutineNonBlockingContextDetectionTest.testDispatchersTypeDetection, KT-34659 org.jetbrains.kotlin.idea.inspections.CoroutineNonBlockingContextDetectionTest.testLambdaReceiverType, KT-34659 org.jetbrains.kotlin.idea.inspections.CoroutineNonBlockingContextDetectionTest.testNestedFunctionsInsideSuspendLambda, KT-34659 -org.jetbrains.kotlin.idea.inspections.CoroutineNonBlockingContextDetectionTest.testSimpleCoroutineScope, KT-34659 \ No newline at end of file +org.jetbrains.kotlin.idea.inspections.CoroutineNonBlockingContextDetectionTest.testSimpleCoroutineScope, KT-34659 +org.jetbrains.kotlin.idea.inspections.LocalInspectionTestGenerated.RedundantRequireNotNullCall.testUsedAsExpression, KT-34672, FAIL +org.jetbrains.kotlin.idea.inspections.LocalInspectionTestGenerated.RedundantRequireNotNullCall.testUsedAsExpression2, KT-34672, FAIL +org.jetbrains.kotlin.idea.inspections.LocalInspectionTestGenerated.RedundantRequireNotNullCall.testUsedAsExpression3, KT-34672, FAIL \ No newline at end of file