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

Unified Diff: chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc

Issue 2013573003: Use EXPECT_FALSE instead of EXPECT_EQ(false to fix linux build with gcc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months 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
Index: chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc
diff --git a/chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc b/chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc
index dff4693c3197792560b209f26f7c8aee1d06a238..67ced46ece4867661af0f2225f1472c662ccb194 100644
--- a/chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc
+++ b/chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc
@@ -81,7 +81,7 @@ class FakeRenderThread : public ChromeMockRenderThread {
if (verdict.ParseFromString(verdict_str)) {
EXPECT_EQ("http://host.com/", verdict.url());
EXPECT_EQ(0.8f, verdict.client_score());
- EXPECT_EQ(false, verdict.is_phishing());
+ EXPECT_FALSE(verdict.is_phishing());
} else {
NOTREACHED() << "Cannot parse IPC content. Test failed.";
}
« no previous file with comments | « cc/test/ordered_simple_task_runner_unittest.cc ('k') | third_party/WebKit/Source/core/layout/ImageQualityControllerTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698