summaryrefslogtreecommitdiff
path: root/common_service_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'common_service_unittest.cc')
-rw-r--r--common_service_unittest.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/common_service_unittest.cc b/common_service_unittest.cc
index edf90b09..65202a06 100644
--- a/common_service_unittest.cc
+++ b/common_service_unittest.cc
@@ -43,9 +43,7 @@ class UpdateEngineServiceTest : public ::testing::Test {
: mock_update_attempter_(fake_system_state_.mock_update_attempter()),
common_service_(&fake_system_state_) {}
- void SetUp() override {
- fake_system_state_.set_device_policy(nullptr);
- }
+ void SetUp() override { fake_system_state_.set_device_policy(nullptr); }
// Fake/mock infrastructure.
FakeSystemState fake_system_state_;
@@ -133,7 +131,8 @@ TEST_F(UpdateEngineServiceTest, SetChannelWithDelegatedPolicy) {
TEST_F(UpdateEngineServiceTest, SetChannelWithInvalidChannel) {
EXPECT_CALL(*mock_update_attempter_, RefreshDevicePolicy());
EXPECT_CALL(*fake_system_state_.mock_request_params(),
- SetTargetChannel("foo-channel", true, _)).WillOnce(Return(false));
+ SetTargetChannel("foo-channel", true, _))
+ .WillOnce(Return(false));
EXPECT_FALSE(common_service_.SetChannel(&error_, "foo-channel", true));
ASSERT_NE(nullptr, error_);