Add spaces after ) and around 'else' in 'if'

This commit is contained in:
Nikolay Krasko
2013-11-13 19:04:55 +04:00
parent 6efd72738a
commit c50804a3f3
3 changed files with 62 additions and 3 deletions
@@ -5,4 +5,31 @@ fun f() {
}
if (1 == 2) {
}
if (true) {
}
else {
}
if (true) {
} else {
}
if (true) {
} else {
}
if (true)
{
}
else
{
}
if (true)
{
}
else
3 > 2
}
+28 -1
View File
@@ -1,9 +1,36 @@
fun f() {
if (1 == 2) {
if (1 == 2) {
}
if(1 == 2) {
}
if
(1 == 2) {
}
if (true) {
}
else{
}
if (true){
}else{
}
if (true) {
} else {
}
if (true)
{
}
else
{
}
if (true)
{
}
else
3 > 2
}