directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r191602 - /directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/spnego/codec/SpnegoTest.java
Date Tue, 21 Jun 2005 00:42:12 GMT
Author: elecharny
Date: Mon Jun 20 17:42:12 2005
New Revision: 191602

URL: http://svn.apache.org/viewcvs?rev=191602&view=rev
Log:
modified the error message in a test. Nothing important.

Modified:
    directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/spnego/codec/SpnegoTest.java

Modified: directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/spnego/codec/SpnegoTest.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/spnego/codec/SpnegoTest.java?rev=191602&r1=191601&r2=191602&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/spnego/codec/SpnegoTest.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/spnego/codec/SpnegoTest.java
Mon Jun 20 17:42:12 2005
@@ -909,9 +909,11 @@
             
             for (int i = 0; i < stream.capacity(); i++)
             {
-                if (stream.get() != res.get() )
+                byte streamGet = stream.get();
+                byte resGet    = res.get();
+                if (streamGet != resGet )
                 {
-                    System.out.println("Error pos " + i);
+                    System.out.println("Error pos " + i + ", " + streamGet + " != " + resGet);
                 }
             }
             



Mime
View raw message