Add clang-format (#1086)

Co-authored-by: mwilsnd <mwilsnd@gmail.com>
This commit is contained in:
Bart Louwers
2023-05-01 16:57:37 +02:00
committed by GitHub
parent 403a12bd1b
commit 71f6da2722
1018 changed files with 27876 additions and 25862 deletions

View File

@@ -13,9 +13,7 @@ TEST(RunLoop, Stop) {
RunLoop loop(RunLoop::Type::New);
Timer timer;
timer.start(mbgl::Duration::zero(), mbgl::Duration::zero(), [&] {
loop.stop();
});
timer.start(mbgl::Duration::zero(), mbgl::Duration::zero(), [&] { loop.stop(); });
loop.run();
}
@@ -38,9 +36,7 @@ TEST(RunLoop, MultipleRun) {
RunLoop loop(RunLoop::Type::New);
Timer timer;
timer.start(mbgl::Duration::zero(), mbgl::Duration::zero(), [&] {
loop.stop();
});
timer.start(mbgl::Duration::zero(), mbgl::Duration::zero(), [&] { loop.stop(); });
loop.run();
@@ -66,7 +62,7 @@ TEST(RunLoop, Priorities) {
loop.invoke(RunLoop::Priority::Default, [&] { loop.stop(); });
loop.run();
EXPECT_EQ((std::vector<int>{ 2, 4, 1, 3 }), order);
EXPECT_EQ((std::vector<int>{2, 4, 1, 3}), order);
}
TEST(RunLoop, PlatformIntegration) {