Fix test that would always pass

This commit is contained in:
str4d
2012-02-26 03:01:48 +00:00
parent 4148aa54f3
commit f19ef3e486

View File

@ -36,7 +36,7 @@ public class RouterAddressTest extends StructureTest {
public void testBadWrite() throws Exception{
RouterAddress addr = new RouterAddress();
boolean error = true;
boolean error = false;
try{
addr.writeBytes(new ByteArrayOutputStream());
}catch(DataFormatException dfe){