Fixed test

This commit is contained in:
Valentin Kipyatkov
2015-07-21 11:39:59 +03:00
parent a81ed335d0
commit dee6bb2f49
4 changed files with 14 additions and 14 deletions
@@ -0,0 +1,6 @@
// WITH_RUNTIME
fun foo(bar: Sequence<String>) {
for (<caret>a in bar) {
}
}
@@ -1,5 +1,5 @@
//WITH_RUNTIME
fun foo(bar: Stream<String>) {
// WITH_RUNTIME
fun foo(bar: Sequence<String>) {
for ((index, a) in bar.withIndex()) {
}
-6
View File
@@ -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);
}