Correct test
This commit is contained in:
parent
43dc0bd8a3
commit
5a8486e39c
@ -27,7 +27,7 @@ public class NetworkConstantsTest {
|
||||
@Test
|
||||
public void testLocalhost() throws UnknownHostException {
|
||||
assertNotNull(NetworkConstants.LOCALHOST);
|
||||
assertSame(NetworkConstants.LOCALHOST, InetAddress.getLocalHost());
|
||||
assertEquals(NetworkConstants.LOCALHOST, InetAddress.getLocalHost());
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Loading…
Reference in New Issue
Block a user