Fix formatting in some of test data files.
Adapted from https://github.com/develar/kotlin/commit/a9e0a42fb1347fa8e21c86b5a073ef8a7c873da0.
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user