[freenet-cvs] r13767 - trunk/freenet/test/freenet/support
sback at freenetproject.org
sback at freenetproject.org
Tue Jun 26 17:55:59 UTC 2007
Author: sback
Date: 2007-06-26 17:55:59 +0000 (Tue, 26 Jun 2007)
New Revision: 13767
Modified:
trunk/freenet/test/freenet/support/HexUtilTest.java
Log:
Fixed a test to be consistent with the changement on the tested class code
Modified: trunk/freenet/test/freenet/support/HexUtilTest.java
===================================================================
--- trunk/freenet/test/freenet/support/HexUtilTest.java 2007-06-26 17:54:07 UTC (rev 13766)
+++ trunk/freenet/test/freenet/support/HexUtilTest.java 2007-06-26 17:55:59 UTC (rev 13767)
@@ -228,7 +228,7 @@
byte[] methodByteArray = new byte[1];
HexUtil.hexToBytes(methodString,methodByteArray,methodByteArray.length);
fail("Expected Exception Error Not Thrown!"); }
- catch (IllegalArgumentException anException) {
+ catch (ArrayIndexOutOfBoundsException anException) {
assertNotNull(anException); }
}
More information about the cvs
mailing list