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

Unified Diff: chromeos/dbus/fake_auth_policy_client_unittest.cc

Issue 2748013002: Avoid EXPECT_EQ(false, _) in a chromeos unittest. (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/fake_auth_policy_client_unittest.cc
diff --git a/chromeos/dbus/fake_auth_policy_client_unittest.cc b/chromeos/dbus/fake_auth_policy_client_unittest.cc
index 4cd560868ab427002a4ebe2f3bb9fac0b9ed09d1..e220238e18e8d2c30796b8f74b9fb910f1adb156 100644
--- a/chromeos/dbus/fake_auth_policy_client_unittest.cc
+++ b/chromeos/dbus/fake_auth_policy_client_unittest.cc
@@ -90,10 +90,10 @@ TEST(FakeAuthPolicyClientTest, NotStartedAuthPolicyService) {
EXPECT_EQ(authpolicy::ERROR_DBUS_FAILURE, error);
}));
client.RefreshDevicePolicy(
- base::Bind([](bool success) { EXPECT_EQ(false, success); }));
+ base::Bind([](bool success) { EXPECT_FALSE(success); }));
client.RefreshUserPolicy(
AccountId::FromUserEmail(kCorrectUserName),
- base::Bind([](bool success) { EXPECT_EQ(false, success); }));
+ base::Bind([](bool success) { EXPECT_FALSE(success); }));
}
} // namespace chromeos
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698