forked from I2P_Developers/i2p.i2p
test: fix I2PSocketExceptionTest::testUnknownStatus
In non-English environments, the message is translated.
This commit is contained in:
@@ -60,6 +60,6 @@ public class I2PSocketExceptionTest {
|
||||
public void testUnknownStatus() {
|
||||
I2PSocketException e = new I2PSocketException(255);
|
||||
assertThat(e.getStatus(), is(255));
|
||||
assertThat(e.getMessage(), is("Failure code: 255"));
|
||||
assertThat(e.getMessage(), endsWith(": 255"));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user