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