Fix formatting in some of test data files.

Adapted from https://github.com/develar/kotlin/commit/a9e0a42fb1347fa8e21c86b5a073ef8a7c873da0.
This commit is contained in:
Pavel V. Talanov
2012-08-10 14:06:23 +04:00
parent 12d9b25189
commit 7a22ad099a
31 changed files with 227 additions and 234 deletions
@@ -1,25 +1,25 @@
package foo
trait A {
fun addFoo(s:String) : String {
return s + "FOO"
fun addFoo(s: String): String {
return s + "FOO"
}
}
trait B {
fun hooray() : String {
fun hooray(): String {
return "hooray"
}
}
trait AD : A, B {
trait AD: A, B {
}
class Test() : AD {
fun eval() : String {
class Test(): AD {
fun eval(): String {
return addFoo(hooray());
}
}
fun box() = (Test().eval() == "hoorayFOO")
fun box() = (Test().eval() == "hoorayFOO")