Skip to content

Commit 391359c

Browse files
committed
Fix formatting
1 parent 6125603 commit 391359c

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

tests/test-middle.cpp

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -693,8 +693,8 @@ TEMPLATE_TEST_CASE("middle: add way with attributes", "", options_slim_default,
693693
{
694694
options_t options = TestType::options(db);
695695

696-
SECTION("with attributes") { options.extra_attributes = true; }
697-
SECTION("no attributes") { options.extra_attributes = false; }
696+
SECTION("With attributes") { options.extra_attributes = true; }
697+
SECTION("No attributes") { options.extra_attributes = false; }
698698

699699
testing::cleanup::file_t flatnode_cleaner{
700700
options.flat_node_file.get_value_or("")};
@@ -946,8 +946,8 @@ TEMPLATE_TEST_CASE("middle: add relation with attributes", "",
946946
{
947947
options_t options = TestType::options(db);
948948

949-
SECTION("with attributes") { options.extra_attributes = true; }
950-
SECTION("no attributes") { options.extra_attributes = false; }
949+
SECTION("With attributes") { options.extra_attributes = true; }
950+
SECTION("No attributes") { options.extra_attributes = false; }
951951

952952
testing::cleanup::file_t flatnode_cleaner{
953953
options.flat_node_file.get_value_or("")};
@@ -1014,9 +1014,9 @@ class test_pending_processor : public middle_t::pending_processor
10141014

10151015
void enqueue_ways(osmid_t id) override { m_way_ids.push_back(id); }
10161016

1017-
void process_ways() override{};
1018-
void enqueue_relations(osmid_t) override{};
1019-
void process_relations() override{};
1017+
void process_ways() override {}
1018+
void enqueue_relations(osmid_t) override {}
1019+
void process_relations() override {}
10201020

10211021
void check_way_ids_equal_to(std::initializer_list<osmid_t> list) noexcept
10221022
{
@@ -1089,7 +1089,7 @@ TEMPLATE_TEST_CASE("middle: change nodes in way", "", options_slim_default,
10891089
// From now on use append mode to not destroy the data we just added.
10901090
options.append = true;
10911091

1092-
SECTION("single way affected")
1092+
SECTION("Single way affected")
10931093
{
10941094
auto mid = std::make_shared<middle_pgsql_t>(&options);
10951095
mid->start();
@@ -1110,7 +1110,7 @@ TEMPLATE_TEST_CASE("middle: change nodes in way", "", options_slim_default,
11101110
mid->commit();
11111111
}
11121112

1113-
SECTION("two ways affected")
1113+
SECTION("Two ways affected")
11141114
{
11151115
{
11161116
auto mid = std::make_shared<middle_pgsql_t>(&options);
@@ -1145,7 +1145,7 @@ TEMPLATE_TEST_CASE("middle: change nodes in way", "", options_slim_default,
11451145
}
11461146
}
11471147

1148-
SECTION("change way so the changing node isn't in it any more")
1148+
SECTION("Change way so the changing node isn't in it any more")
11491149
{
11501150
{
11511151
auto mid = std::make_shared<middle_pgsql_t>(&options);

0 commit comments

Comments
 (0)