diff options
author | evanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-13 23:44:51 +0000 |
---|---|---|
committer | evanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-13 23:44:51 +0000 |
commit | 981bcd3333f0890b3e2c8f48424297b63c61a5d5 (patch) | |
tree | de987627b4e8fa5e7d967bc6aa2b5b5a5bd84f08 /net/base | |
parent | 814a9aba9358a6302eee45ac05d60b1f881cc51b (diff) | |
download | chromium_src-981bcd3333f0890b3e2c8f48424297b63c61a5d5.zip chromium_src-981bcd3333f0890b3e2c8f48424297b63c61a5d5.tar.gz chromium_src-981bcd3333f0890b3e2c8f48424297b63c61a5d5.tar.bz2 |
Allow optimized builds on Linux.
Review URL: http://codereview.chromium.org/10857
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5406 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base')
-rw-r--r-- | net/base/host_resolver_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/base/host_resolver_unittest.cc b/net/base/host_resolver_unittest.cc index fde5a1a..018246d 100644 --- a/net/base/host_resolver_unittest.cc +++ b/net/base/host_resolver_unittest.cc @@ -31,8 +31,8 @@ TEST(HostResolverTest, NumericAddresses) { const struct sockaddr* sa = ainfo->ai_addr; const struct sockaddr_in* sa_in = (const struct sockaddr_in*) sa; - EXPECT_EQ(htons(kPortnum), sa_in->sin_port); - EXPECT_EQ(htonl(0x7f000001), sa_in->sin_addr.s_addr); + EXPECT_TRUE(htons(kPortnum) == sa_in->sin_port); + EXPECT_TRUE(htonl(0x7f000001) == sa_in->sin_addr.s_addr); } } // namespace |