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,4 +1,6 @@
fun doSomething<T>(a: T) {}
fun foo() {
<caret>do println("test")
<caret>do doSomething("test")
while(true)
}
}
@@ -1,5 +1,7 @@
fun doSomething<T>(a: T) {}
fun foo() {
do {
println("test")
doSomething("test")
} while(true)
}
}
@@ -1,4 +1,6 @@
fun doSomething<T>(a: T) {}
fun foo() {
if (true) println("test")
<caret>else println("test2")
}
if (true) doSomething("test")
<caret>else doSomething("test2")
}
@@ -1,6 +1,8 @@
fun doSomething<T>(a: T) {}
fun foo() {
if (true) println("test")
if (true) doSomething("test")
else {
println("test2")
doSomething("test2")
}
}
}
@@ -1,4 +1,6 @@
fun doSomething<T>(a: T) {}
fun foo() {
for (i in 1..4)
<caret>println("test")
}
<caret>doSomething("test")
}
@@ -1,5 +1,7 @@
fun doSomething<T>(a: T) {}
fun foo() {
for (i in 1..4) {
println("test")
doSomething("test")
}
}
}
@@ -1,3 +1,5 @@
fun doSomething<T>(a: T) {}
fun foo() {
<caret>if (true) println("test") else println("test2")
}
<caret>if (true) doSomething("test") else doSomething("test2")
}
@@ -1,5 +1,7 @@
fun doSomething<T>(a: T) {}
fun foo() {
if (true) {
println("test")
} else println("test2")
}
doSomething("test")
} else doSomething("test2")
}
@@ -1,3 +1,5 @@
fun doSomething<T>(a: T) {}
fun foo() {
<caret>if (true)println("test")
}
<caret>if (true) doSomething("test")
}
@@ -1,5 +1,7 @@
fun doSomething<T>(a: T) {}
fun foo() {
if (true) {
println("test")
doSomething("test")
}
}
}
@@ -1,3 +1,5 @@
fun doSomething<T>(a: T) {}
fun foo() {
<caret>if (true) println("test");
}
<caret>if (true) doSomething("test");
}
@@ -1,5 +1,7 @@
fun doSomething<T>(a: T) {}
fun foo() {
if (true) {
println("test")
doSomething("test")
}
}
}
@@ -1,4 +1,6 @@
fun doSomething<T>(a: T) {}
fun foo() {
<caret>while (true)
println("test")
}
doSomething("test")
}
@@ -1,5 +1,7 @@
fun doSomething<T>(a: T) {}
fun foo() {
while (true) {
println("test")
doSomething("test")
}
}
}
@@ -1,6 +1,9 @@
// IS_APPLICABLE: false
fun doSomething<T>(a: T) {}
fun foo() {
<caret>if (true) {
println("test")
doSomething("test")
}
}
}