mirror of https://github.com/apache/lucene.git
LUCENE-2642: ...one more -- sorry for heavy committing, too many checkouts
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@996653 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9a3133c786
commit
7a7e0e7836
|
@ -31,7 +31,7 @@ import org.junit.Assert;
|
||||||
* @version $Id$
|
* @version $Id$
|
||||||
*/
|
*/
|
||||||
public class TestUtils extends LuceneTestCase {
|
public class TestUtils extends LuceneTestCase {
|
||||||
public static void testSplitEscaping() {
|
public void testSplitEscaping() {
|
||||||
List<String> arr = StrUtils.splitSmart("\\r\\n:\\t\\f\\b", ":", true);
|
List<String> arr = StrUtils.splitSmart("\\r\\n:\\t\\f\\b", ":", true);
|
||||||
assertEquals(2,arr.size());
|
assertEquals(2,arr.size());
|
||||||
assertEquals("\r\n",arr.get(0));
|
assertEquals("\r\n",arr.get(0));
|
||||||
|
|
Loading…
Reference in New Issue