Reformat stdlib tests and samples

#KT-5558
This commit is contained in:
Ilya Gorbunov
2018-04-23 16:18:24 +03:00
parent add09e0f2e
commit ecf0d7ec0d
39 changed files with 389 additions and 284 deletions
+23 -23
View File
@@ -24,33 +24,33 @@ class PromiseTest {
assertStaticTypeIs<Promise<Int>>(p.then(f, ft))
assertStaticTypeIs<Promise<Int>>(
p.then({
1
} , {
1
})
p.then({
1
}, {
1
})
)
assertStaticTypeIs<Promise<Int>>(
p.then({
1
}) {
1
}
p.then({
1
}) {
1
}
)
assertStaticTypeIs<Promise<Int>>(
p.then(onFulfilled = {
1
})
p.then(onFulfilled = {
1
})
)
assertStaticTypeIs<Promise<Int>>(
p.then(onFulfilled = {
1
}) {
1
}
p.then(onFulfilled = {
1
}) {
1
}
)
p.then {
@@ -59,12 +59,12 @@ class PromiseTest {
assertStaticAndRuntimeTypeIs<String>(it)
ps
}.then(
{
assertStaticAndRuntimeTypeIs<String>(it)
},
{
{
assertStaticAndRuntimeTypeIs<String>(it)
},
{
}
}
)
}
}