mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-20 19:56:00 +00:00
Reformat codebase with 120 char limit (#583)
This commit is contained in:
@@ -35,8 +35,7 @@ TEST(TimedTest, HasReturnValue)
|
||||
|
||||
TEST(TimedTest, ReturnVoid)
|
||||
{
|
||||
auto time = timed(
|
||||
[]() { std::this_thread::sleep_for(std::chrono::milliseconds(5)); });
|
||||
auto time = timed([]() { std::this_thread::sleep_for(std::chrono::milliseconds(5)); });
|
||||
|
||||
ASSERT_NE(time, 0);
|
||||
}
|
||||
@@ -85,9 +84,7 @@ TEST(TimedTest, NestedLambda)
|
||||
double timeNested;
|
||||
auto f = [&]() {
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(5));
|
||||
timeNested = timed([]() {
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(5));
|
||||
});
|
||||
timeNested = timed([]() { std::this_thread::sleep_for(std::chrono::milliseconds(5)); });
|
||||
return 8;
|
||||
};
|
||||
auto [ret, time] = timed<std::chrono::nanoseconds>(std::move(f));
|
||||
|
||||
Reference in New Issue
Block a user