From: <be...@us...> - 2006-10-20 12:14:42
|
Revision: 109 http://svn.sourceforge.net/pzfilereader/?rev=109&view=rev Author: benoitx Date: 2006-10-20 05:14:30 -0700 (Fri, 20 Oct 2006) Log Message: ----------- Fixed the test. Modified Paths: -------------- trunk/PZFileReader/src/test/java/net/sf/pzfilereader/parserutils/LTrimTest.java Modified: trunk/PZFileReader/src/test/java/net/sf/pzfilereader/parserutils/LTrimTest.java =================================================================== --- trunk/PZFileReader/src/test/java/net/sf/pzfilereader/parserutils/LTrimTest.java 2006-10-20 09:53:38 UTC (rev 108) +++ trunk/PZFileReader/src/test/java/net/sf/pzfilereader/parserutils/LTrimTest.java 2006-10-20 12:14:30 UTC (rev 109) @@ -73,10 +73,8 @@ */ public void testWithTabsInMiddleAndEnd() { assertEquals("RemoveAll \tSpaces \t\t",ParserUtils.lTrim("\t \t RemoveAll \tSpaces \t\t")); - - // Paul what should happen for the following tests, should they skip the tab and get rid of the spaces or stop at the first tab?? assertEquals("\t \t RemoveAll \tSpaces \t\t ",ParserUtils.lTrimKeepTabs(" \t \t RemoveAll \tSpaces \t\t ")); - assertEquals("\t\tRemoveAll \tSpaces \t\t",ParserUtils.lTrimKeepTabs("\t \t RemoveAll \tSpaces \t\t")); + assertEquals("\t \t RemoveAll \tSpaces \t\t",ParserUtils.lTrimKeepTabs("\t \t RemoveAll \tSpaces \t\t")); } public static void main(final String[] args) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |