You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2005/06/21 02:42:12 UTC

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

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);
                 }
             }