Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(335)

Unified Diff: net/base/host_resolver_unittest.cc

Issue 10857: Add OPT=1 flag to build optimized on Linux. (Closed)
Patch Set: alles ist gut Created 12 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/unit/unit_tests.scons ('k') | net/net_perftests.scons » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/host_resolver_unittest.cc
diff --git a/net/base/host_resolver_unittest.cc b/net/base/host_resolver_unittest.cc
index fde5a1a48722816a0abd2da9491bd8eaa7ced018..018246d11abc54cb986ebc130929dddada93de2f 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
« no previous file with comments | « chrome/test/unit/unit_tests.scons ('k') | net/net_perftests.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698