Formatting fix so clangformat 8 applies cleanly (#2491)
This commit is contained in:
parent
496eaf9aad
commit
9557ff90f0
1 changed files with 1 additions and 2 deletions
|
@ -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 ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue