From f19ef3e486f22c717498d111ce07f71342d3bf54 Mon Sep 17 00:00:00 2001 From: str4d <str4d@mail.i2p> Date: Sun, 26 Feb 2012 03:01:48 +0000 Subject: [PATCH] Fix test that would always pass --- core/java/test/net/i2p/data/RouterAddressTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/java/test/net/i2p/data/RouterAddressTest.java b/core/java/test/net/i2p/data/RouterAddressTest.java index aab4a88bb9..3e8791e73c 100644 --- a/core/java/test/net/i2p/data/RouterAddressTest.java +++ b/core/java/test/net/i2p/data/RouterAddressTest.java @@ -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){ -- GitLab