commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject cvs commit: jakarta-commons/lang/src/test/org/apache/commons/lang StringUtilsTrimEmptyTest.java
Date Fri, 19 Jul 2002 04:05:58 GMT
bayard      2002/07/18 21:05:57

  Modified:    lang/src/test/org/apache/commons/lang
                        StringUtilsTrimEmptyTest.java
  Log:
  Added another test to show that I can pass in delimiters that don't appear
  in the string I'm stripping.
  
  Revision  Changes    Path
  1.3       +2 -1      jakarta-commons/lang/src/test/org/apache/commons/lang/StringUtilsTrimEmptyTest.java
  
  Index: StringUtilsTrimEmptyTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/test/org/apache/commons/lang/StringUtilsTrimEmptyTest.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- StringUtilsTrimEmptyTest.java	19 Jul 2002 04:04:45 -0000	1.2
  +++ StringUtilsTrimEmptyTest.java	19 Jul 2002 04:05:57 -0000	1.3
  @@ -161,6 +161,7 @@
           assertEquals(FOO, StringUtils.strip(". . . . ."+FOO+". . ", " ."));
           assertEquals("-."+FOO, StringUtils.strip(". . . . -."+FOO+". . ", " ."));
           assertEquals(FOO, StringUtils.strip("..  .."+FOO+".. ", " ."));
  +        assertEquals(FOO, StringUtils.strip("..  .."+FOO+".. ", "+= ."));
   
           // test stripAll method, merely an array version of the above strip
           String[] empty = new String[0];
  
  
  

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