directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1516725 - /directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/entry/AttributeTest.java
Date Fri, 23 Aug 2013 07:54:51 GMT
Author: elecharny
Date: Fri Aug 23 07:54:50 2013
New Revision: 1516725

URL: http://svn.apache.org/r1516725
Log:
Testa failing test due to a modification in the Attribute.toString() method

Modified:
    directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/entry/AttributeTest.java

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/entry/AttributeTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/entry/AttributeTest.java?rev=1516725&r1=1516724&r2=1516725&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/entry/AttributeTest.java
(original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/entry/AttributeTest.java
Fri Aug 23 07:54:50 2013
@@ -1291,21 +1291,21 @@ public class AttributeTest
     {
         Attribute attr1 = new DefaultAttribute( "test" );
 
-        assertEquals( "test: (null)\n", attr1.toString() );
+        assertEquals( "test: (null)", attr1.toString() );
 
         attr1.add( "a" );
-        assertEquals( "test: a\n", attr1.toString() );
+        assertEquals( "test: a", attr1.toString() );
 
         attr1.add( "b" );
-        assertEquals( "test: a\ntest: b\n", attr1.toString() );
+        assertEquals( "test: a\ntest: b", attr1.toString() );
 
         Attribute attr2 = new DefaultAttribute( "test" );
 
         attr2.add( BYTES1 );
-        assertEquals( "test: '0x61 0x62 '\n", attr2.toString() );
+        assertEquals( "test: '0x61 0x62 '", attr2.toString() );
 
         attr2.add( BYTES3 );
-        assertEquals( "test: '0x61 0x62 '\ntest: '0x63 '\n", attr2.toString() );
+        assertEquals( "test: '0x61 0x62 '\ntest: '0x63 '", attr2.toString() );
     }
 
 



Mime
View raw message