Skip to content

Commit

Permalink
fix: update tests accordingly
Browse files Browse the repository at this point in the history
  • Loading branch information
pouryafard75 committed Nov 27, 2024
1 parent 39f5084 commit dabc505
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -254,13 +254,17 @@ public void testComments2() throws IOException {
+ " PrimitiveType: boolean [60,67]\n"
+ " SimpleName: b [68,69]\n"
+ " Block [76,142]\n"
+ " Javadoc: /**\n"
+ " * test2 \n"
+ " */ [86,119]\n"
+ " Javadoc [86,119]\n"
+ " TagElement [101,107]\n"
+ " TextElement: test2 [101,107]\n"
+ " ExpressionStatement [128,136]\n"
+ " MethodInvocation [128,135]\n"
+ " SimpleName: sleep [128,133]";


// System.out.println(input);
TreeContext ct = new JdtWithCommentsTreeGenerator().generateFrom().string(input);
// System.out.println(expected);
assertEquals(expected, ct.getRoot().toTreeString());
}
}

0 comments on commit dabc505

Please sign in to comment.