I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 786a261a authored by str4d's avatar str4d
Browse files

Fixed usage of assertEquals - should be assertEquals(expected, got)

parent a226d25d
No related branches found
No related tags found
No related merge requests found
...@@ -101,6 +101,6 @@ public class RouterAddressTest extends StructureTest { ...@@ -101,6 +101,6 @@ public class RouterAddressTest extends StructureTest {
addr.setOptions(options); addr.setOptions(options);
addr.setTransportStyle("Blah"); addr.setTransportStyle("Blah");
String ret = addr.toString(); String ret = addr.toString();
assertEquals(ret, "[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]]"); 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);
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment