tkobayas commented on code in PR #5855:
URL: 
https://github.com/apache/incubator-kie-drools/pull/5855#discussion_r1575697005


##########
drools-drl/drools-drl-parser-tests/src/test/java/org/drools/drl/parser/antlr4/DescrCommonPropertyTest.java:
##########
@@ -245,10 +288,10 @@ void andDescr() {
                 "    ( $p1 : Person( name == \"Mario\" ) and $p2 : Person( 
name == \"Luigi\" ) )\n" +
                 "  then\n" +
                 "end";
-        final PackageDescr pkg = parser.parse(source);
+        final PackageDescr pkg = parseAndGetPackageDescr(source);
         final RuleDescr rule = pkg.getRules().get(0);
         AndDescr and = rule.getLhs();
-        assertProperties(and, 21, 87, 3, 6, 3, 72);
+        assertProperties(and, 19, 90, 3, 4, 3, 74);

Review Comment:
   Yes, previously, it didn't include surrounding parentheses.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to