Run formatter in function context for converted expression and statements
This commit is contained in:
@@ -1,16 +1,14 @@
|
||||
@test for (i in 0..max) {
|
||||
var n: Int = substring.length()
|
||||
var j: Int = i
|
||||
var k: Int = 0
|
||||
while (n-- != 0)
|
||||
{
|
||||
if (searchMe.charAt(j++) != substring.charAt(k++))
|
||||
{
|
||||
continue@test
|
||||
}
|
||||
}
|
||||
foundIt = true
|
||||
break@test
|
||||
var n: Int = substring.length()
|
||||
var j: Int = i
|
||||
var k: Int = 0
|
||||
while (n-- != 0) {
|
||||
if (searchMe.charAt(j++) != substring.charAt(k++)) {
|
||||
continue@test
|
||||
}
|
||||
}
|
||||
foundIt = true
|
||||
break@test
|
||||
}
|
||||
System.out?.println((if (foundIt)
|
||||
"Found it"
|
||||
|
||||
Reference in New Issue
Block a user