Formatting fix so clangformat 8 applies cleanly (#2491)

This commit is contained in:
cryptocode 2020-01-17 21:48:00 +01:00 committed by GitHub
commit 9557ff90f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -878,7 +878,7 @@ TEST (websocket, bootstrap_excited)
// Start bootstrap, exit after subscription
std::atomic<bool> bootstrap_started{ false };
std::atomic<bool> subscribed{ false };
std::thread bootstrap_thread ([&system, node1, &bootstrap_started, &subscribed](){
std::thread bootstrap_thread ([&system, node1, &bootstrap_started, &subscribed]() {
node1->bootstrap_initiator.bootstrap (true, "123abc");
auto attempt (node1->bootstrap_initiator.current_attempt ());
ASSERT_NE (nullptr, attempt);
@ -913,7 +913,6 @@ TEST (websocket, bootstrap_excited)
}
ASSERT_EQ (1, node1->websocket_server->subscriber_count (nano::websocket::topic::bootstrap));
// Wait for the bootstrap notification
subscribed = true;
bootstrap_thread.join ();