Author: gmazza
Date: Fri Jan 25 02:34:14 2013
New Revision: 1438296

URL: http://svn.apache.org/viewvc?rev=1438296&view=rev
Log:
Minor tweak to testSerialization() so it will work with both Maven and Ant 
running of the test.

Modified:
    incubator/jspwiki/trunk/tests/org/apache/wiki/auth/acl/AclImplTest.java

Modified: 
incubator/jspwiki/trunk/tests/org/apache/wiki/auth/acl/AclImplTest.java
URL: 
http://svn.apache.org/viewvc/incubator/jspwiki/trunk/tests/org/apache/wiki/auth/acl/AclImplTest.java?rev=1438296&r1=1438295&r2=1438296&view=diff
==============================================================================
--- incubator/jspwiki/trunk/tests/org/apache/wiki/auth/acl/AclImplTest.java 
(original)
+++ incubator/jspwiki/trunk/tests/org/apache/wiki/auth/acl/AclImplTest.java Fri 
Jan 25 02:34:14 2013
@@ -246,8 +246,7 @@ public class AclImplTest extends TestCas
         ObjectInputStream in = new ObjectInputStream( new 
ByteArrayInputStream(stuff) );
         
         AclImpl newacl = (AclImpl) in.readObject();
-        
-        assert( newacl.equals(m_acl) );
+        assert( newacl.toString().equals(m_acl.toString()) );
     }
     
     public static Test suite()


Reply via email to