Fixed test
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
// WITH_RUNTIME
|
||||
fun foo(bar: Sequence<String>) {
|
||||
for (<caret>a in bar) {
|
||||
|
||||
}
|
||||
}
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
//WITH_RUNTIME
|
||||
fun foo(bar: Stream<String>) {
|
||||
// WITH_RUNTIME
|
||||
fun foo(bar: Sequence<String>) {
|
||||
for ((index, a) in bar.withIndex()) {
|
||||
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
//WITH_RUNTIME
|
||||
fun foo(bar: Stream<String>) {
|
||||
for (<caret>a in bar) {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -148,15 +148,15 @@ public class IntentionTestGenerated extends AbstractIntentionTest {
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("simpleIntList.kt")
|
||||
public void testSimpleIntList() throws Exception {
|
||||
String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/addForLoopIndices/simpleIntList.kt");
|
||||
@TestMetadata("sequence.kt")
|
||||
public void testSequence() throws Exception {
|
||||
String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/addForLoopIndices/sequence.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("stream.kt")
|
||||
public void testStream() throws Exception {
|
||||
String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/addForLoopIndices/stream.kt");
|
||||
@TestMetadata("simpleIntList.kt")
|
||||
public void testSimpleIntList() throws Exception {
|
||||
String fileName = JetTestUtils.navigationMetadata("idea/testData/intentions/addForLoopIndices/simpleIntList.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user