commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r381244 - /jakarta/commons/proper/jexl/trunk/src/test/org/apache/commons/jexl/IfTest.java
Date Mon, 27 Feb 2006 03:17:13 GMT
Author: dion
Date: Sun Feb 26 19:17:10 2006
New Revision: 381244

URL: http://svn.apache.org/viewcvs?rev=381244&view=rev
Log:
Check Assignment result

Modified:
    jakarta/commons/proper/jexl/trunk/src/test/org/apache/commons/jexl/IfTest.java

Modified: jakarta/commons/proper/jexl/trunk/src/test/org/apache/commons/jexl/IfTest.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/jexl/trunk/src/test/org/apache/commons/jexl/IfTest.java?rev=381244&r1=381243&r2=381244&view=diff
==============================================================================
--- jakarta/commons/proper/jexl/trunk/src/test/org/apache/commons/jexl/IfTest.java (original)
+++ jakarta/commons/proper/jexl/trunk/src/test/org/apache/commons/jexl/IfTest.java Sun Feb
26 19:17:10 2006
@@ -169,7 +169,7 @@
 
         e.evaluate(jc);
         Object result = jc.getVars().get("y");
-        assertNotNull(result);
+        assertEquals("y has the wrong value", Integer.valueOf(1), result);
     }
 
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message