Skip to content

Commit 07efcab

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 5eff976 commit 07efcab

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
@@ -2076,7 +2076,9 @@ TEST_CASE("ToSql: lup-truncate off leaves oversize INSERT values intact", "[SqlM
20762076
(void) Lightweight::ToSql(formatter, SqlMigrationPlanElement { create }, context);
20772077

20782078
SqlInsertDataPlan insert {
2079-
.schemaName = "", .tableName = "T", .columns = { { "n", Lightweight::SqlVariant(std::string("hellooo")) } }, // 7 > 5
2079+
.schemaName = "",
2080+
.tableName = "T",
2081+
.columns = { { "n", Lightweight::SqlVariant(std::string("hellooo")) } }, // 7 > 5
20802082
};
20812083

20822084
CapturingWarningLogger capture;
@@ -2384,9 +2386,8 @@ TEST_CASE_METHOD(SqlMigrationTestFixture, "Fold: drop table cleans residual refe
23842386
fold_test::FoldStub<20'10'02'00'00'02> m2 { "create idx on temp", [](SqlMigrationQueryBuilder& plan) {
23852387
plan.CreateIndex("idx_temp_id", "temp_table", { "id" });
23862388
} };
2387-
fold_test::FoldStub<20'10'02'00'00'03> m3 { "drop temp", [](SqlMigrationQueryBuilder& plan) {
2388-
plan.DropTable("temp_table");
2389-
} };
2389+
fold_test::FoldStub<20'10'02'00'00'03> m3 { "drop temp",
2390+
[](SqlMigrationQueryBuilder& plan) { plan.DropTable("temp_table"); } };
23902391

23912392
auto const fold = mgr.FoldRegisteredMigrations(SqlQueryFormatter::Sqlite());
23922393

0 commit comments

Comments
 (0)