commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: jakarta-commons/jexl/src/test/org/apache/commons/jexl JexlTest.java
Date Thu, 19 Aug 2004 18:12:00 GMT
dion        2004/08/19 11:12:00

  Modified:    jexl/src/test/org/apache/commons/jexl JexlTest.java
  Log:
  detab
  
  Revision  Changes    Path
  1.44      +15 -15    jakarta-commons/jexl/src/test/org/apache/commons/jexl/JexlTest.java
  
  Index: JexlTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jexl/src/test/org/apache/commons/jexl/JexlTest.java,v
  retrieving revision 1.43
  retrieving revision 1.44
  diff -u -r1.43 -r1.44
  --- JexlTest.java	19 Aug 2004 18:05:26 -0000	1.43
  +++ JexlTest.java	19 Aug 2004 18:11:59 -0000	1.44
  @@ -367,9 +367,9 @@
           o = e.evaluate(jc);
           assertTrue("7 : o incorrect", o.equals(Boolean.TRUE));
   
  -		e = ExpressionFactory.createExpression("empty set");
  -		o = e.evaluate(jc);
  -		assertTrue("8 : o incorrect", o.equals(Boolean.TRUE));
  +        e = ExpressionFactory.createExpression("empty set");
  +        o = e.evaluate(jc);
  +        assertTrue("8 : o incorrect", o.equals(Boolean.TRUE));
   
       }
   
  @@ -1096,7 +1096,7 @@
       {
           JexlContext jc = JexlHelper.createContext();
           jc.getVars().put("aBool", Boolean.FALSE);
  -    	assertExpression(jc, "aBool.valueOf('true')", Boolean.TRUE);
  +        assertExpression(jc, "aBool.valueOf('true')", Boolean.TRUE);
       }
       
       /**
  @@ -1105,14 +1105,14 @@
        */
       public void testBadParse() throws Exception
       {
  -    	try
  -		{
  -    		assertExpression(JexlHelper.createContext(), "empty()", null);
  -		}
  -    	catch (ParseException pe)
  -		{
  -    		System.err.println("Expecting a parse exception: " + pe.getMessage());
  -		}
  +        try
  +        {
  +            assertExpression(JexlHelper.createContext(), "empty()", null);
  +        }
  +        catch (ParseException pe)
  +        {
  +            System.err.println("Expecting a parse exception: " + pe.getMessage());
  +        }
       }
   
       /**
  @@ -1120,9 +1120,9 @@
        * @throws Exception
        */
       public void testComment() throws Exception
  -	{
  +    {
           assertExpression(JexlHelper.createContext(), "## double or nothing\n 1 + 1", Long.valueOf("2"));
  -	}
  +    }
       
       /**
        * Asserts that the given expression returns the given value when applied to the
  
  
  

---------------------------------------------------------------------
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