LeVCS/crates/levcs-store/tests
Levi Neuwirth ef73028887 Accept only the braced test-item shapes this crate uses
Lead fix, folded in. The previous repair accepted any `#[cfg(test)]` item whose
first line ended in `{`, which is the same latch in another spelling: a
semicolon-terminated `static` or `const` can open a block initializer there and
close with `};`, so the exemption ran past it into the next function. Verified
by reverting the condition — the scanner returned no offender at all for a
`std::fs::write` in the function following a `LazyLock` initializer.

Only `mod` and `impl` are accepted as braced shapes, being the two the crate
actually uses. Everything else fails the guard by name rather than being
bounded by a brace that may not be the item's own.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XKzM69CHmBuDcA3qN1jFdh
2026-07-29 20:30:41 -04:00
..
fixtures Initialize an absent root through the production entry point 2026-07-29 17:26:05 -04:00
support Initialize an absent root through the production entry point 2026-07-29 17:26:05 -04:00
crash_matrix.rs Initialize an absent root through the production entry point 2026-07-29 17:26:05 -04:00
d0_contract.rs Accept only the braced test-item shapes this crate uses 2026-07-29 20:30:41 -04:00
frame_golden.rs Freeze Wave A: Phase 1 storage spine 2026-07-26 19:47:03 -04:00
recovery_checkpoint.rs Implement D0-B storage publication interfaces 2026-07-27 22:31:32 -04:00
recovery_checkpoint_faults.rs Implement D0-B storage publication interfaces 2026-07-27 22:31:32 -04:00
recovery_eio.rs Freeze Wave A: Phase 1 storage spine 2026-07-26 19:47:03 -04:00
recovery_identity.rs Freeze Wave A: Phase 1 storage spine 2026-07-26 19:47:03 -04:00
recovery_manifest.rs Implement D0-B storage publication interfaces 2026-07-27 22:31:32 -04:00
recovery_production_codec.rs Freeze Wave A: Phase 1 storage spine 2026-07-26 19:47:03 -04:00
recovery_receipts.rs Implement D0-B storage publication interfaces 2026-07-27 22:31:32 -04:00
recovery_reference_frame.rs Freeze Wave A: Phase 1 storage spine 2026-07-26 19:47:03 -04:00
recovery_seal.rs Freeze Wave A: Phase 1 storage spine 2026-07-26 19:47:03 -04:00
recovery_sequences.rs Freeze Wave A: Phase 1 storage spine 2026-07-26 19:47:03 -04:00
recovery_step8.rs Implement D0-B storage publication interfaces 2026-07-27 22:31:32 -04:00
recovery_tail.rs Freeze Wave A: Phase 1 storage spine 2026-07-26 19:47:03 -04:00
staging_sessions.rs Implement the partial B3 staging-session slice 2026-07-28 18:01:25 -04:00