Fixed code formating Change-Id: I3a57431adf401ac79037570cc16606e423d6b283 Reviewed-on: https://weave-review.googlesource.com/1364 Reviewed-by: Johan Euphrosine <proppy@google.com>
diff --git a/libweave/examples/daemon/main.cc b/libweave/examples/daemon/main.cc index a85a980..263e730 100644 --- a/libweave/examples/daemon/main.cc +++ b/libweave/examples/daemon/main.cc
@@ -94,7 +94,8 @@ dns_sd.reset(new weave::examples::AvahiClient); http_server.reset(new weave::examples::HttpServerImpl{&task_runner}); if (weave::examples::WifiImpl::HasWifiCapability()) - wifi.reset(new weave::examples::WifiImpl{&task_runner, force_bootstrapping}); + wifi.reset( + new weave::examples::WifiImpl{&task_runner, force_bootstrapping}); } std::unique_ptr<weave::Device> device{weave::Device::Create( &config_store, &task_runner, &http_client, &network, dns_sd.get(),
diff --git a/libweave/src/device_registration_info_unittest.cc b/libweave/src/device_registration_info_unittest.cc index 060e5c4..a885b7b 100644 --- a/libweave/src/device_registration_info_unittest.cc +++ b/libweave/src/device_registration_info_unittest.cc
@@ -596,14 +596,14 @@ http_client_, SendRequest(HttpClient::Method::kPatch, command_url_, HttpClient::Headers{GetAuthHeader(), GetJsonHeader()}, _, _)) - .WillOnce(WithArgs<3, 4>(Invoke([]( - const std::string& data, - const HttpClient::SendRequestCallback& callback) { - EXPECT_JSON_EQ(R"({"state":"done", "results":{"status":"Ok"}})", - *CreateDictionaryValue(data)); - base::DictionaryValue json; - callback.Run(ReplyWithJson(200, json), nullptr); - }))); + .WillOnce(WithArgs<3, 4>( + Invoke([](const std::string& data, + const HttpClient::SendRequestCallback& callback) { + EXPECT_JSON_EQ(R"({"state":"done", "results":{"status":"Ok"}})", + *CreateDictionaryValue(data)); + base::DictionaryValue json; + callback.Run(ReplyWithJson(200, json), nullptr); + }))); EXPECT_TRUE( command_->Complete(*CreateDictionaryValue("{'status': 'Ok'}"), nullptr)); }