[jboss-svn-commits] JBL Code SVN: r12113 - labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Wed May 23 21:45:37 EDT 2007
Author: mark.proctor at jboss.com
Date: 2007-05-23 21:45:37 -0400 (Wed, 23 May 2007)
New Revision: 12113
Modified:
labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_mvel.drl
Log:
format fix
Modified: labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_mvel.drl
===================================================================
--- labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_mvel.drl 2007-05-24 01:41:04 UTC (rev 12112)
+++ labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_mvel.drl 2007-05-24 01:45:37 UTC (rev 12113)
@@ -7,12 +7,11 @@
rule "Throw Eval Exception"
dialect "mvel"
when
-// $c : Cheese(type == "stilton", (price == (new Integer(5) + 5)), price == (new Integer(5) + 5) )
- $c : Cheese(type == "stilton" )
- eval( $c.price == 10 )
+ $c : Cheese(type == "stilton", price == (new Integer(5) + 5), eval(price == (new Integer(5) + 5)) )
+ eval( $c.price == 10 && list == empty)
then
- long a = new java.math.BigInteger( 10 );
- b = a + 10;
- System.out.println("hello");
- list.add( b + $c.price);
+ a = new java.math.BigInteger( 10 );
+ b = new java.math.BigInteger( 10 );
+ c = a + b;
+ list.add( c + $c.price);
end
\ No newline at end of file
More information about the jboss-svn-commits
mailing list