directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r326750 - /directory/shared/ldap/trunk/apache2-provider/src/test/org/apache/asn1new/ldap/codec/primitives/LdapStringTest.java
Date Wed, 19 Oct 2005 23:16:33 GMT
Author: elecharny
Date: Wed Oct 19 16:16:27 2005
New Revision: 326750

URL: http://svn.apache.org/viewcvs?rev=326750&view=rev
Log:
Fixed a UTF-8 char that was still there.

Modified:
    directory/shared/ldap/trunk/apache2-provider/src/test/org/apache/asn1new/ldap/codec/primitives/LdapStringTest.java

Modified: directory/shared/ldap/trunk/apache2-provider/src/test/org/apache/asn1new/ldap/codec/primitives/LdapStringTest.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/trunk/apache2-provider/src/test/org/apache/asn1new/ldap/codec/primitives/LdapStringTest.java?rev=326750&r1=326749&r2=326750&view=diff
==============================================================================
--- directory/shared/ldap/trunk/apache2-provider/src/test/org/apache/asn1new/ldap/codec/primitives/LdapStringTest.java
(original)
+++ directory/shared/ldap/trunk/apache2-provider/src/test/org/apache/asn1new/ldap/codec/primitives/LdapStringTest.java
Wed Oct 19 16:16:27 2005
@@ -99,6 +99,6 @@
     public void testWrongLdapStringBytes() throws LdapStringEncodingException, UnsupportedEncodingException
     {
         LdapString ls = new LdapString( new byte[]{'J', (byte)0xe3, (byte)0xc9, 'r', (byte)0xc3,
(byte)0xb4, 'm', 'e'} );
-        Assert.assertEquals( "J\ufffd\ufffdrôme" ,ls.getString() );
+        Assert.assertEquals( "J\ufffd\ufffdr\u00f4me" ,ls.getString() );
     }
 }



Mime
View raw message