From d709f461838c80c1eae9a1c6b94eed2b6cf64de6 Mon Sep 17 00:00:00 2001 From: zab2 <zab2@mail.i2p> Date: Sat, 20 Jul 2013 18:45:19 +0000 Subject: [PATCH] Update unit test --- core/java/test/junit/net/i2p/data/RouterAddressTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/java/test/junit/net/i2p/data/RouterAddressTest.java b/core/java/test/junit/net/i2p/data/RouterAddressTest.java index 16f7f11188..1dd4896fdf 100644 --- a/core/java/test/junit/net/i2p/data/RouterAddressTest.java +++ b/core/java/test/junit/net/i2p/data/RouterAddressTest.java @@ -102,6 +102,6 @@ public class RouterAddressTest extends StructureTest { addr.setTransportStyle("Blah"); String ret = addr.toString(); //assertEquals("[RouterAddress: \n\tTransportStyle: Blah\n\tCost: 42\n\tExpiration: Fri Jan 02 00:00:00 UTC 1970\n\tOptions: #: 2\n\t\t[hostname] = [localhost]\n\t\t[portnum] = [1234]]", ret); - assertEquals("[RouterAddress: \n\tTransportStyle: Blah\n\tCost: 42\n\tOptions: #: 2\n\t\t[hostname] = [localhost]\n\t\t[portnum] = [1234]]", ret); + assertEquals("[RouterAddress: \n\tType: Blah\n\tCost: 42\n\tOptions (2):\n\t\t[hostname] = [localhost]\n\t\t[portnum] = [1234]]", ret); } } -- GitLab