diff --git a/idea/idea-completion/testData/keywords/ReturnBoolean.kt b/idea/idea-completion/testData/keywords/ReturnBoolean.kt index 6a990731c0f..65e64dab77c 100644 --- a/idea/idea-completion/testData/keywords/ReturnBoolean.kt +++ b/idea/idea-completion/testData/keywords/ReturnBoolean.kt @@ -3,7 +3,8 @@ fun foo(): Boolean { } // INVOCATION_COUNT: 1 +// WITH_ORDER: true // EXIST: { lookupString: "return", itemText: "return", tailText: null, attributes: "bold" } -// EXIST: { lookupString: "return true", itemText: "return true", tailText: null, attributes: "bold" } // EXIST: { lookupString: "return false", itemText: "return false", tailText: null, attributes: "bold" } +// EXIST: { lookupString: "return true", itemText: "return true", tailText: null, attributes: "bold" } // NOTHING_ELSE diff --git a/idea/idea-completion/testData/weighers/basic/ReturnBoolean.kt b/idea/idea-completion/testData/weighers/basic/ReturnBoolean.kt deleted file mode 100644 index 5ece2f86d1a..00000000000 --- a/idea/idea-completion/testData/weighers/basic/ReturnBoolean.kt +++ /dev/null @@ -1,7 +0,0 @@ -fun foo(): Boolean { - ret -} - -// ORDER: return -// ORDER: return false -// ORDER: return true diff --git a/idea/idea-completion/tests/org/jetbrains/kotlin/idea/completion/test/weighers/BasicCompletionWeigherTestGenerated.java b/idea/idea-completion/tests/org/jetbrains/kotlin/idea/completion/test/weighers/BasicCompletionWeigherTestGenerated.java index c3a817fa9d7..cf8ca22a652 100644 --- a/idea/idea-completion/tests/org/jetbrains/kotlin/idea/completion/test/weighers/BasicCompletionWeigherTestGenerated.java +++ b/idea/idea-completion/tests/org/jetbrains/kotlin/idea/completion/test/weighers/BasicCompletionWeigherTestGenerated.java @@ -137,12 +137,6 @@ public class BasicCompletionWeigherTestGenerated extends AbstractBasicCompletion doTest(fileName); } - @TestMetadata("ReturnBoolean.kt") - public void testReturnBoolean() throws Exception { - String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/weighers/basic/ReturnBoolean.kt"); - doTest(fileName); - } - @TestMetadata("idea/idea-completion/testData/weighers/basic/expectedInfo") @TestDataPath("$PROJECT_ROOT") @RunWith(JUnit3RunnerWithInners.class)