Fixed tests after adding error checking for intention tests.

This commit is contained in:
Zalim Bashorov
2014-04-01 20:49:24 +04:00
parent 8d19c7309b
commit b43958f4b3
399 changed files with 1376 additions and 906 deletions
@@ -1,3 +1,3 @@
fun foo(x: Foo) {
(<caret>x foo 1).bar()
}
fun foo(x: Int) {
(<caret>x shl 1).minus()
}
@@ -1,3 +1,3 @@
fun foo(x: Foo) {
(x.foo(1)).bar()
}
fun foo(x: Int) {
(x.shl(1)).minus()
}
@@ -1,3 +1,6 @@
trait Foo {
fun foo(f: (Int) -> Unit)
}
fun foo(x: Foo) {
<caret>x foo { it * 2 }
}
}
@@ -1,3 +1,6 @@
trait Foo {
fun foo(f: (Int) -> Unit)
}
fun foo(x: Foo) {
x.foo { it * 2 }
}
}
@@ -1,4 +1,4 @@
// IS_APPLICABLE: false
fun foo(x: Foo) {
fun foo(x: String) {
<caret>x == x
}
}
@@ -1,3 +1,3 @@
fun foo(x: Foo) {
<caret>x!! foo 1
}
fun foo(x: String) {
<caret>x!! compareTo "1"
}
@@ -1,3 +1,3 @@
fun foo(x: Foo) {
x!!.foo(1)
}
fun foo(x: String) {
x!!.compareTo("1")
}
@@ -1,3 +1,3 @@
fun foo(x: Foo) {
<caret>x foo (1 + 2)
}
fun foo(x: String) {
<caret>x plus ("1" + "2")
}
@@ -1,3 +1,3 @@
fun foo(x: Foo) {
x.foo(1 + 2)
}
fun foo(x: String) {
x.plus("1" + "2")
}
@@ -1,3 +1,3 @@
fun foo(x: Foo) {
<caret>x foo 1
}
fun foo(x: Int) {
<caret>x compareTo 1
}
@@ -1,3 +1,3 @@
fun foo(x: Foo) {
x.foo(1)
}
fun foo(x: Int) {
x.compareTo(1)
}