commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rwins...@apache.org
Subject svn commit: r921645 - /commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/io/DotTerminatedMessageReaderTest.java
Date Thu, 11 Mar 2010 00:24:41 GMT
Author: rwinston
Date: Thu Mar 11 00:24:41 2010
New Revision: 921645

URL: http://svn.apache.org/viewvc?rev=921645&view=rev
Log:
 Make embedded newlines test work on Windows

Modified:
    commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/io/DotTerminatedMessageReaderTest.java

Modified: commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/io/DotTerminatedMessageReaderTest.java
URL: http://svn.apache.org/viewvc/commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/io/DotTerminatedMessageReaderTest.java?rev=921645&r1=921644&r2=921645&view=diff
==============================================================================
--- commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/io/DotTerminatedMessageReaderTest.java
(original)
+++ commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/io/DotTerminatedMessageReaderTest.java
Thu Mar 11 00:24:41 2010
@@ -64,7 +64,7 @@ public class DotTerminatedMessageReaderT
 			str.append(buf, 0, read);
 		}
 		
-		assertEquals(str.toString(), "Hello\nWorld\nA\rB" + SEP);
+		assertEquals(str.toString(), "Hello\r\nWorld\nA\rB" + SEP);
 	}
 	
 	public void testDoubleCrBeforeDot() throws IOException {



Mime
View raw message