Skip to content

Commit ea7a383

Browse files
Whitespace cleanup
1 parent 0332828 commit ea7a383

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎koans/src/beginner/AboutConditionals.java‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public void basicIfWithoutCurly(){
1414
int x = 1;
1515
if (true)
1616
x++;
17-
assertEquals(x,__);
17+
assertEquals(x, __);
1818
}
1919

2020
@Koan
@@ -26,7 +26,7 @@ public void basicIfElseWithoutCurly(){
2626
x++;
2727
else
2828
x--;
29-
assertEquals(x,__);
29+
assertEquals(x, __);
3030
}
3131

3232
@Koan
@@ -41,7 +41,7 @@ else if (otherBooleanCondition)
4141
x = 10;
4242
else
4343
x--;
44-
assertEquals(x,__);
44+
assertEquals(x, __);
4545
}
4646

4747
@Koan
@@ -55,21 +55,21 @@ public void nestedIfsWithoutCurlysAreReallyMisleading() {
5555
if (otherBooleanCondition) x = 10;
5656
else x--;
5757
// Where does this else belong to!?
58-
assertEquals(x,__);
58+
assertEquals(x, __);
5959
}
6060

6161
@Koan
6262
public void ifAsIntended() {
6363
boolean secretBoolean = true;
6464
int x = 1;
65-
if(secretBoolean) {
65+
if (secretBoolean) {
6666
x++;
6767
} else {
6868
x = 0;
6969
}
7070
// There are different opinions on where the curly braces go...
7171
// But as long as you put them here. You avoid problems as seen above.
72-
assertEquals(x,__);
72+
assertEquals(x, __);
7373
}
7474

7575
@Koan

0 commit comments

Comments
 (0)