From 5a8486e39c69b011130ce10db62caea34f2d3a74 Mon Sep 17 00:00:00 2001 From: Norman Maurer Date: Sat, 27 Oct 2012 19:57:59 +0200 Subject: [PATCH] Correct test --- common/src/test/java/io/netty/util/NetworkConstantsTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/test/java/io/netty/util/NetworkConstantsTest.java b/common/src/test/java/io/netty/util/NetworkConstantsTest.java index 695cd5a768..f9f75ffda7 100644 --- a/common/src/test/java/io/netty/util/NetworkConstantsTest.java +++ b/common/src/test/java/io/netty/util/NetworkConstantsTest.java @@ -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