Changeset 786a261


Ignore:
Timestamp:
Feb 29, 2012 5:34:13 AM (8 years ago)
Author:
str4d <str4d@…>
Branches:
master
Children:
9d07bc2
Parents:
a226d25
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/java/test/net/i2p/data/RouterAddressTest.java

    ra226d25 r786a261  
    102102        addr.setTransportStyle("Blah");
    103103        String ret = addr.toString();
    104         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]]");
     104        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);
    105105    }
    106106}
Note: See TracChangeset for help on using the changeset viewer.