[jboss-jira] [JBoss JIRA] (DROOLS-4950) Different behavior of collection unary checks
Yeser Amer (Jira)
issues at jboss.org
Fri Jan 17 10:09:16 EST 2020
[ https://issues.redhat.com/browse/DROOLS-4950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13951322#comment-13951322 ]
Yeser Amer edited comment on DROOLS-4950 at 1/17/20 10:08 AM:
--------------------------------------------------------------
[~jomarko] I tested it. In my opinion it's not a bug. The second row holds in GIVEN a List with [1,2,3]. In EXPECTED you put ?=[2], which is wrong. Change it to ?=[1, 2, 3] and it will work.
Please double check it, and if you confirm it's not a bug please close it. Thanks
was (Author: yamer):
[~jomarko] I tested it. In my opinion it's not a bug. The second row holds in GIVEN a List with [1,2,3]. In EXPECTED you put ?=[2], which is wrong. Change it to ?=[1, 2, 3] and it will works.
Please double check it, and if you confirm it's not a bug please close it. Thanks
> Different behavior of collection unary checks
> ---------------------------------------------
>
> Key: DROOLS-4950
> URL: https://issues.redhat.com/browse/DROOLS-4950
> Project: Drools
> Issue Type: Bug
> Components: Scenario Simulation and Testing
> Affects Versions: 7.32.0.Final
> Reporter: Jozef Marko
> Assignee: Yeser Amer
> Priority: Critical
> Labels: drools-tools
> Attachments: MySpace_simplenumbers.zip, Screenshot from 2020-01-17 13-56-02.png, Screenshot from 2020-01-17 13-56-10.png
>
>
> Issue was spotted during DROOLS-4698 review. However it can be handled separately.
> There is issue that user can define collection unary test with UI editor [1] but also as plain text [2]. The problem is the result is different.
> [1]
> !Screenshot from 2020-01-17 13-56-02.png|thumbnail!
> [2]
> !Screenshot from 2020-01-17 13-56-10.png|thumbnail!
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the jboss-jira
mailing list