Intentions: Fix test data after default visibility was changed to PUBLIC

This commit is contained in:
Alexey Sedunov
2015-09-08 18:26:15 +03:00
parent 9a00ead331
commit 89ae7d2036
18 changed files with 32 additions and 22 deletions
@@ -2,7 +2,7 @@ interface I {
fun foo(): String
}
fun bar()<selection>: I</selection> = object: I {
fun bar(): I = object<caret>: I {
override fun foo(): String {
return "a"
}
@@ -1,3 +1,3 @@
// WITH_RUNTIME
fun foo()<selection>: Unit</selection> = throw UnsupportedOperationException()
fun foo(): Unit = throw <caret>UnsupportedOperationException()
@@ -1,3 +1,3 @@
// WITH_RUNTIME
fun foo()<selection>: Nothing</selection> = throw UnsupportedOperationException()
fun foo(): Nothing = throw <caret>UnsupportedOperationException()
@@ -1 +1 @@
fun foo()<selection>: String</selection> = "abc"
fun <caret>foo(): String = "abc"
@@ -1,3 +1,3 @@
// WITH_RUNTIME
fun foo()<selection>: Unit</selection> = throw UnsupportedOperationException()
fun foo(): Unit = throw <caret>UnsupportedOperationException()
@@ -1 +1 @@
fun getText()<selection>: String</selection> = "xxx" //TODO
fun getText(): String = "xxx"<caret> //TODO
@@ -1,2 +1,2 @@
fun getText()<selection>: String</selection> = // let's return xxx
"xxx" //TODO
fun getText(): String = // let's return xxx
"xxx"<caret> //TODO
@@ -1,2 +1,2 @@
fun getText()<selection>: String</selection> = // let's return xxx
"xxx"
fun getText(): String = // let's return xxx
"xxx"<caret>