commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ge...@apache.org
Subject cvs commit: jakarta-commons-sandbox/jexl/src/test/org/apache/commons/jexl JexlTest.java
Date Mon, 08 Jul 2002 13:47:51 GMT
geirm       2002/07/08 06:47:51

  Modified:    jexl/src/test/org/apache/commons/jexl JexlTest.java
  Log:
  superfluous test, but just to be sure...
  
  Revision  Changes    Path
  1.14      +7 -2      jakarta-commons-sandbox/jexl/src/test/org/apache/commons/jexl/JexlTest.java
  
  Index: JexlTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/jexl/src/test/org/apache/commons/jexl/JexlTest.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- JexlTest.java	8 Jul 2002 00:25:50 -0000	1.13
  +++ JexlTest.java	8 Jul 2002 13:47:51 -0000	1.14
  @@ -607,7 +607,12 @@
           o = e.evaluate(jc);
   
           assertEquals("o incorrect", Boolean.TRUE, o );
  -        
  +
  +        e = ExpressionFactory.createExpression("barnotexist == ''");
  +        o = e.evaluate(jc);
  +
  +        assertEquals("o incorrect", Boolean.FALSE, o );
  +
           e = ExpressionFactory.createExpression("empty bar");
           o = e.evaluate(jc);
   
  
  
  

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


Mime
View raw message