Author: nextgens
Date: 2008-11-20 22:02:24 +0000 (Thu, 20 Nov 2008)
New Revision: 23759
Modified:
trunk/freenet/test/freenet/support/FieldsTest.java
Log:
That's bitsToLongs, not Ints
Modified: trunk/freenet/test/freenet/support/FieldsTest.java
===================================================================
--- trunk/freenet/test/freenet/support/FieldsTest.java 2008-11-20 21:57:59 UTC
(rev 23758)
+++ trunk/freenet/test/freenet/support/FieldsTest.java 2008-11-20 22:02:24 UTC
(rev 23759)
@@ -263,7 +263,7 @@
assertEquals(outLongs.length, ints.length);
}
- public void testBytesToIntException() {
+ public void testBytesToLongsException() {
byte[] bytes = new byte[3];
try {
Fields.bytesToLongs(bytes, 0, bytes.length);
@@ -271,7 +271,7 @@
}
catch(IllegalArgumentException e){
// expect this
- }
+ }
}
public void testBytesToInt() {
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs