<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Try =[test1,test1]<div><br></div><div>Toni</div><div><br><div><div>On Feb 15, 2012, at 9:47 AM, Michael Anstis wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><br class="webkit-block-placeholder"></div><p>sent on the move</p><p>---------- Forwarded message ----------<br>From: "Péter Gombás" <<a href="mailto:gombas.peter@gmail.com">gombas.peter@gmail.com</a>><br>Date: 15 Feb 2012 07:40<br>Subject: Re: [rules-users] Guvnor - expected value of a list<br>
To: <<a href="mailto:michael.anstis@gmail.com">michael.anstis@gmail.com</a>><br><br type="attribution">Hello Michael,<br>
<br>
yes, it is a Test scenario in Guvnor. In attachment is a very simple<br>
project. Target is to check the resulting list. On the picture you can<br>
see the problem: altough expected values are the same as target the<br>
test is not succesful. Or am i using it not correctly?<br>
<br>
Peter<br>
<br>
2012/2/14 Michael Anstis <<a href="mailto:michael.anstis@gmail.com">michael.anstis@gmail.com</a>>:<br>
> I assume this is a QA \ Test Scenario in Guvnor?<br>
><br>
> It's going to be helpful if you can provide an export of your repository (or<br>
> an extract) showing the issue.<br>
><br>
><br>
> On 14 February 2012 16:12, gombasp <<a href="mailto:gombas.peter@gmail.com">gombas.peter@gmail.com</a>> wrote:<br>
>><br>
>> Hello,<br>
>><br>
>> I have the following problem: i would like to compare a value in expected<br>
>> section of a Guvnor test. Guvnor says actual value is:<br>
>><br>
>> (Actual: [test1, test1])<br>
>><br>
>> When i enter [test1, test1] to the expected value it will not match with<br>
>> actual.<br>
>> Is it possible to compare list values? If yes, what is the syntax?<br>
>><br>
>> Thanks,<br>
>><br>
>> Peter<br>
>><br>
>> --<br>
>> View this message in context:<br>
>> <a href="http://drools.46999.n3.nabble.com/Guvnor-expected-value-of-a-list-tp3744129p3744129.html" target="_blank">http://drools.46999.n3.nabble.com/Guvnor-expected-value-of-a-list-tp3744129p3744129.html</a><br>
>> Sent from the Drools: User forum mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br>
>> _______________________________________________<br>
>> rules-users mailing list<br>
>> <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
>> <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> rules-users mailing list<br>
> <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
><br>
<br>
<br>
<br>
--<br>
Gombás Péter<br>
</p>
<span><guvnor_test.zip></span><span><guvnor.JPG></span>_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>https://lists.jboss.org/mailman/listinfo/rules-users<br></blockquote></div><br></div></body></html>