From ef7c09a787444a5cf776bbe627d48475f39a23bb Mon Sep 17 00:00:00 2001 From: Bartosz Rozwarski Date: Wed, 9 Sep 2026 15:17:51 +0200 Subject: [PATCH] style(drive-abci): rustfmt the keep-history deletion replay test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `cargo fmt --all -- --check` fails on `v4.2-dev` at `batch/tests/document/deletion.rs:406`. The test name is long enough that rustfmt wants the opening brace on its own line and the call broken before `.await`; the merged form kept both on one line. This is the only formatting violation in the workspace, and it fails the "Rust wallet tests (macOS)" job for every PR branched off `v4.2-dev` — the job runs the fmt check before the tests, so nothing downstream of it gets to run. Introduced by 88b0427816 (#4218). Pure rustfmt output, no logic touched. Co-Authored-By: Claude Opus 5 --- .../state_transitions/batch/tests/document/deletion.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/batch/tests/document/deletion.rs b/packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/batch/tests/document/deletion.rs index 0c47b893b05..27bcd8a748b 100644 --- a/packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/batch/tests/document/deletion.rs +++ b/packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/batch/tests/document/deletion.rs @@ -406,8 +406,10 @@ mod deletion_tests { } #[tokio::test] - async fn test_document_delete_on_document_type_that_keeps_history_replays_protocol_version_13() { - run_document_delete_on_document_type_that_keeps_history_at_protocol_version(13, false).await; + async fn test_document_delete_on_document_type_that_keeps_history_replays_protocol_version_13() + { + run_document_delete_on_document_type_that_keeps_history_at_protocol_version(13, false) + .await; } /// Exercises an already-deployed contradictory contract at both sides of