tests: apply official code style
#KT-38632 Fixed
This commit is contained in:
@@ -33,9 +33,9 @@ internal class CustomerBuilder {
|
||||
object User {
|
||||
fun main() {
|
||||
val customer = CustomerBuilder()
|
||||
.WithFirstName("Homer")
|
||||
.WithLastName("Simpson")
|
||||
.Build()
|
||||
.WithFirstName("Homer")
|
||||
.WithLastName("Simpson")
|
||||
.Build()
|
||||
println(customer.firstName)
|
||||
println(customer.lastName)
|
||||
}
|
||||
|
||||
+5
-1
@@ -1 +1,5 @@
|
||||
internal class C(@Deprecated("") private val p1: Int, @Deprecated("") private val myP2: Int, @Deprecated("") var p3: Int)
|
||||
internal class C(
|
||||
@Deprecated("") private val p1: Int,
|
||||
@Deprecated("") private val myP2: Int,
|
||||
@Deprecated("") var p3: Int
|
||||
)
|
||||
|
||||
@@ -1,12 +1,18 @@
|
||||
internal class C1(arg1: Int,
|
||||
arg2: Int,
|
||||
arg3: Int) {
|
||||
internal class C1(
|
||||
arg1: Int,
|
||||
arg2: Int,
|
||||
arg3: Int
|
||||
) {
|
||||
|
||||
constructor(x: Int,
|
||||
y: Int) : this(x, x + y, 0) {
|
||||
constructor(
|
||||
x: Int,
|
||||
y: Int
|
||||
) : this(x, x + y, 0) {
|
||||
}
|
||||
}
|
||||
|
||||
internal class C2(private val arg1: Int,
|
||||
private val arg2: Int,
|
||||
arg3: Int)
|
||||
internal class C2(
|
||||
private val arg1: Int,
|
||||
private val arg2: Int,
|
||||
arg3: Int
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user