mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:38:12 +00:00
Everywhere: Run clang-format
This commit is contained in:
parent
0376c127f6
commit
086969277e
1665 changed files with 8479 additions and 8479 deletions
|
@ -37,14 +37,14 @@ TEST_CASE(should_find_mutable_with_predicate)
|
|||
{
|
||||
auto sut = make_list();
|
||||
|
||||
EXPECT_EQ(4, *sut.find_if([](const auto v) { return v == 4; }));
|
||||
EXPECT_EQ(4, *sut.find_if([](auto const v) { return v == 4; }));
|
||||
|
||||
EXPECT_EQ(sut.end(), sut.find_if([](const auto v) { return v == 42; }));
|
||||
EXPECT_EQ(sut.end(), sut.find_if([](auto const v) { return v == 42; }));
|
||||
}
|
||||
|
||||
TEST_CASE(should_find_const)
|
||||
{
|
||||
const auto sut = make_list();
|
||||
auto const sut = make_list();
|
||||
|
||||
EXPECT_EQ(4, *sut.find(4));
|
||||
|
||||
|
@ -53,11 +53,11 @@ TEST_CASE(should_find_const)
|
|||
|
||||
TEST_CASE(should_find_const_with_predicate)
|
||||
{
|
||||
const auto sut = make_list();
|
||||
auto const sut = make_list();
|
||||
|
||||
EXPECT_EQ(4, *sut.find_if([](const auto v) { return v == 4; }));
|
||||
EXPECT_EQ(4, *sut.find_if([](auto const v) { return v == 4; }));
|
||||
|
||||
EXPECT_EQ(sut.end(), sut.find_if([](const auto v) { return v == 42; }));
|
||||
EXPECT_EQ(sut.end(), sut.find_if([](auto const v) { return v == 42; }));
|
||||
}
|
||||
|
||||
TEST_CASE(removal_during_iteration)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue