Formatter test is generated now
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
fun some(): Int {
|
||||
try {
|
||||
}
|
||||
catch () {
|
||||
}<caret>
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
fun some(): Int {
|
||||
try {
|
||||
}
|
||||
catch () {
|
||||
}
|
||||
<caret>
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
fun some(): Int {
|
||||
try {
|
||||
}
|
||||
catch () {
|
||||
}
|
||||
finally {}<caret>
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
fun some(): Int {
|
||||
try {
|
||||
}
|
||||
catch () {
|
||||
}
|
||||
finally {}
|
||||
<caret>
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
import java.util.ArrayList<caret>
|
||||
@@ -0,0 +1,2 @@
|
||||
import java.util.ArrayList
|
||||
<caret>
|
||||
@@ -0,0 +1,4 @@
|
||||
fun some(): Int {
|
||||
try {
|
||||
}<caret>
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
fun some(): Int {
|
||||
try {
|
||||
}
|
||||
<caret>
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fun test() {
|
||||
some.test().<caret>
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
fun test() {
|
||||
some.test().
|
||||
<caret>
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fun some() {
|
||||
do<caret>
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
fun some() {
|
||||
do
|
||||
<caret>
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fun testParam(<caret>) {
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
fun testParam(
|
||||
<caret>
|
||||
) {
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fun some() {
|
||||
for (var i in 1..10)<caret>
|
||||
@@ -0,0 +1,3 @@
|
||||
fun some() {
|
||||
for (var i in 1..10)
|
||||
<caret>
|
||||
@@ -0,0 +1,7 @@
|
||||
package testing
|
||||
|
||||
private fun times<T>(times : Int, body : () -> T) {}
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
times(3) {<caret>}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package testing
|
||||
|
||||
private fun times<T>(times : Int, body : () -> T) {}
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
times(3) {
|
||||
<caret>
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
fun test() =<caret>
|
||||
@@ -0,0 +1,2 @@
|
||||
fun test() =
|
||||
<caret>
|
||||
@@ -0,0 +1,3 @@
|
||||
fun some() {
|
||||
if (3 > 5)<caret>
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
fun some() {
|
||||
if (3 > 5)
|
||||
<caret>
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fun testParam(a : String, b : Int,<caret>) {
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fun testParam(a : String, b : Int,
|
||||
<caret>) {
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
val a =<caret>
|
||||
@@ -0,0 +1,2 @@
|
||||
val a =
|
||||
<caret>
|
||||
@@ -0,0 +1,5 @@
|
||||
fun test() {
|
||||
testVeryLong(12,<caret>)
|
||||
}
|
||||
|
||||
// SET_TRUE: ALIGN_MULTILINE_PARAMETERS_IN_CALLS
|
||||
@@ -0,0 +1,6 @@
|
||||
fun test() {
|
||||
testVeryLong(12,
|
||||
<caret>)
|
||||
}
|
||||
|
||||
// SET_TRUE: ALIGN_MULTILINE_PARAMETERS_IN_CALLS
|
||||
@@ -0,0 +1,6 @@
|
||||
fun test() {
|
||||
testVeryLong(12,
|
||||
<caret>)
|
||||
}
|
||||
|
||||
// SET_TRUE: ALIGN_MULTILINE_PARAMETERS_IN_CALLS
|
||||
@@ -0,0 +1,3 @@
|
||||
fun some() {
|
||||
var t = 12
|
||||
while (t > 0)<caret>
|
||||
@@ -0,0 +1,4 @@
|
||||
fun some() {
|
||||
var t = 12
|
||||
while (t > 0)
|
||||
<caret>
|
||||
Reference in New Issue
Block a user