Test data fixes after CommentTracker update

This commit is contained in:
Tagir Valeev
2018-03-15 17:01:54 +07:00
parent 56628a45c9
commit 023b0b0dab
2 changed files with 14 additions and 12 deletions
@@ -10,8 +10,10 @@ public class IfStatementWithIdenticalBranches {
}
void work(int i, int j) {
if(i != 0) {
} else /*5*/ /*7*/ if (i/*1*/ < j || i >/*6*/ j/*2*/) {/*3*/
/*5*/
/*7*/
if(i != 0) {
} else if (i/*1*/ < j || i >/*6*/ j/*2*/) {/*3*/
int x = /*4*/ getX();
} else {
int y = 12;
@@ -1,15 +1,15 @@
class NotInBlock {
public void test(boolean b) {
if(b) //end line comment
//before update
{
int i=0;//before condition
while (i</*comment in condition*/10) {
//before statement
System.out.println("Hello!");//in body
i/*comment inside update*/++;
}
}
//before update
if(b) //end line comment
{
int i=0;//before condition
while (i</*comment in condition*/10) {
//before statement
System.out.println("Hello!");//in body
i/*comment inside update*/++;
}
}
}
}