202: Fix MultiFileJvmBasicCompletionTestGenerated
It was broken by 4bef803e1b5994e9ea9731acfb5095a94b1b1383 in intellij
This commit is contained in:
idea/idea-completion/testData/basic/multifile/PropertyKeysEmptyString/PropertyKeysEmptyString.kt.202
Vendored
+13
@@ -0,0 +1,13 @@
|
|||||||
|
import org.jetbrains.annotations.PropertyKey
|
||||||
|
|
||||||
|
fun message(@PropertyKey(resourceBundle = "PropertyKeysEmptyString") key: String) = key
|
||||||
|
|
||||||
|
fun test() {
|
||||||
|
message("<caret>")
|
||||||
|
}
|
||||||
|
|
||||||
|
// EXIST: { lookupString: "foo.bar", itemText: "foo.bar", tailText: "=1", typeText: "PropertyKeysEmptyString" }
|
||||||
|
// EXIST: { lookupString: "bar.baz", itemText: "bar.baz", tailText: "=2", typeText: "PropertyKeysEmptyString" }
|
||||||
|
// EXIST: { lookupString: "foo.bar.baz", itemText: "foo.bar.baz", tailText: "=3", typeText: "PropertyKeysEmptyString" }
|
||||||
|
// EXIST: { lookupString: "foo.test", itemText: "foo.test", tailText: "=4", typeText: "PropertyKeysEmptyString" }
|
||||||
|
// NOTHING_ELSE
|
||||||
Vendored
+13
@@ -0,0 +1,13 @@
|
|||||||
|
import org.jetbrains.annotations.PropertyKey
|
||||||
|
|
||||||
|
fun message(@PropertyKey(resourceBundle = "PropertyKeysNoPrefix") key: String) = key
|
||||||
|
|
||||||
|
fun test() {
|
||||||
|
message("<caret>foo")
|
||||||
|
}
|
||||||
|
|
||||||
|
// EXIST: { lookupString: "foo.bar", itemText: "foo.bar", tailText: "=1", typeText: "PropertyKeysNoPrefix" }
|
||||||
|
// EXIST: { lookupString: "bar.baz", itemText: "bar.baz", tailText: "=2", typeText: "PropertyKeysNoPrefix" }
|
||||||
|
// EXIST: { lookupString: "foo.bar.baz", itemText: "foo.bar.baz", tailText: "=3", typeText: "PropertyKeysNoPrefix" }
|
||||||
|
// EXIST: { lookupString: "foo.test", itemText: "foo.test", tailText: "=4", typeText: "PropertyKeysNoPrefix" }
|
||||||
|
// NOTHING_ELSE
|
||||||
Vendored
+12
@@ -0,0 +1,12 @@
|
|||||||
|
import org.jetbrains.annotations.PropertyKey
|
||||||
|
|
||||||
|
fun message(@PropertyKey(resourceBundle = "PropertyKeysWithPrefix") key: String) = key
|
||||||
|
|
||||||
|
fun test() {
|
||||||
|
message("foo.<caret>")
|
||||||
|
}
|
||||||
|
|
||||||
|
// EXIST: { lookupString: "foo.bar", itemText: "foo.bar", tailText: "=1", typeText: "PropertyKeysWithPrefix" }
|
||||||
|
// EXIST: { lookupString: "foo.bar.baz", itemText: "foo.bar.baz", tailText: "=3", typeText: "PropertyKeysWithPrefix" }
|
||||||
|
// EXIST: { lookupString: "foo.test", itemText: "foo.test", tailText: "=4", typeText: "PropertyKeysWithPrefix" }
|
||||||
|
// NOTHING_ELSE
|
||||||
Reference in New Issue
Block a user