style(power): rustfmt the lock command tests #89

Merged
Breadway merged 1 commit from fix/bset-fmt-power-settings into main 2026-10-20 15:53:55 +08:00
Owner

cargo fmt --check failed on power_settings.rs on main. The drift is in the three tests I added in PR 87 (BOS-92): long assert lines that rustfmt wraps. This commit is formatting only, 16 insertions and 4 deletions in the test module, no behavior change.

Found while implementing BSET-85, whose implementer reported fmt --check failing on this file.

Test: cargo fmt --check passes on the file, cargo test --lib commands::power_settings still 7 passed.

Refs BOS-92

cargo fmt --check failed on power_settings.rs on main. The drift is in the three tests I added in PR 87 (BOS-92): long assert lines that rustfmt wraps. This commit is formatting only, 16 insertions and 4 deletions in the test module, no behavior change. Found while implementing BSET-85, whose implementer reported fmt --check failing on this file. Test: cargo fmt --check passes on the file, cargo test --lib commands::power_settings still 7 passed. Refs BOS-92
style(power): rustfmt the lock command tests
All checks were successful
check / check (push) Successful in 3m9s
0e0a6f32ad
Author
Owner

Review verdict: PASS (reviewed head 0e0a6f32ad, base main 2ba912b23b).

Evidence:

  • Head re-read from Forgejo matches the expected SHA; one commit on top of base, one file changed (src/src/commands/power_settings.rs, 16 insertions, 4 deletions), all inside the test module.
  • Rustfmt-only: with all whitespace removed and trailing commas before a closing paren normalized, the base and head versions of the file are byte-identical. The hunks only wrap three long assert!/render_idle calls; no string literals or tokens changed.
  • cargo fmt --check in a clean worktree at the head SHA: exit 0.
  • cargo test --lib commands::power_settings: 7 passed, 0 failed.
  • CI: check / check (push) is success on this exact SHA (run 188, 3m9s). It is the only status reported for the head.
  • No existing reviews or requested changes; mergeable is true.

Not merged by this review.

Review verdict: PASS (reviewed head 0e0a6f32adbfbe58a5bee02f1a62b4e2b0a7235e, base main 2ba912b23b2818319ce7cbfba590d44e80621c91). Evidence: - Head re-read from Forgejo matches the expected SHA; one commit on top of base, one file changed (src/src/commands/power_settings.rs, 16 insertions, 4 deletions), all inside the test module. - Rustfmt-only: with all whitespace removed and trailing commas before a closing paren normalized, the base and head versions of the file are byte-identical. The hunks only wrap three long assert!/render_idle calls; no string literals or tokens changed. - cargo fmt --check in a clean worktree at the head SHA: exit 0. - cargo test --lib commands::power_settings: 7 passed, 0 failed. - CI: check / check (push) is success on this exact SHA (run 188, 3m9s). It is the only status reported for the head. - No existing reviews or requested changes; mergeable is true. Not merged by this review.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Breadway/bos-settings!89
No description provided.