Skip to content

Commit 65f16f1

Browse files
author
Christian Parpart
committed
[tests] Restore clang-format-22 formatting of two untouched blocks
The previous commit's local clang-format run used v20; CI enforces v22, which formats two pre-existing blocks (an SqlInsertDataPlan initializer and the `m3 "drop temp"` FoldStub) differently. Restore them to master's v22 form so the "Check C++ style" job passes. No behavioural change. Signed-off-by: Christian Parpart <c.parpart@lastrada.net>
1 parent a1f39f0 commit 65f16f1

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

src/tests/MigrationTests.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1880,7 +1880,9 @@ TEST_CASE("ToSql: lup-truncate off leaves oversize INSERT values intact", "[SqlM
18801880
(void) Lightweight::ToSql(formatter, SqlMigrationPlanElement { create }, context);
18811881

18821882
SqlInsertDataPlan insert {
1883-
.schemaName = "", .tableName = "T", .columns = { { "n", Lightweight::SqlVariant(std::string("hellooo")) } }, // 7 > 5
1883+
.schemaName = "",
1884+
.tableName = "T",
1885+
.columns = { { "n", Lightweight::SqlVariant(std::string("hellooo")) } }, // 7 > 5
18841886
};
18851887

18861888
CapturingWarningLogger capture;
@@ -2188,9 +2190,8 @@ TEST_CASE_METHOD(SqlMigrationTestFixture, "Fold: drop table cleans residual refe
21882190
fold_test::FoldStub<20'10'02'00'00'02> m2 { "create idx on temp", [](SqlMigrationQueryBuilder& plan) {
21892191
plan.CreateIndex("idx_temp_id", "temp_table", { "id" });
21902192
} };
2191-
fold_test::FoldStub<20'10'02'00'00'03> m3 { "drop temp", [](SqlMigrationQueryBuilder& plan) {
2192-
plan.DropTable("temp_table");
2193-
} };
2193+
fold_test::FoldStub<20'10'02'00'00'03> m3 { "drop temp",
2194+
[](SqlMigrationQueryBuilder& plan) { plan.DropTable("temp_table"); } };
21942195

21952196
auto const fold = mgr.FoldRegisteredMigrations(SqlQueryFormatter::Sqlite());
21962197

0 commit comments

Comments
 (0)