refactor(engine): move card_plugin tests into card_plugin/tests.rs #124
Reference in New Issue
Block a user
Delete Branch "refactor/card-plugin-split-tests"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
First increment of #118 (module-split plan).
card_plugin.rs(4,129 lines) becomescard_plugin/{mod.rs, tests.rs}(2,536 + 1,592), following the existingreplay_overlay/pattern.git mvpreserves history (rename detected at 61% similarity); the#[cfg(test)] mod tests { … }block is extracted verbatim (dedented one level) intotests.rs.cargo clippy --workspace -- -D warningsclean,cargo test --workspacegreen.Issue #118 stays open for the remaining files (hud_plugin, settings_plugin, game_plugin, input_plugin) — one file per PR as planned.
Refs #118
🤖 Generated with Claude Code
First increment of the module-split plan: card_plugin.rs becomes card_plugin/{mod.rs, tests.rs} (2,536 + 1,592 lines), following the replay_overlay/ pattern. Pure mechanical move via git mv — no runtime code changes; all 70 tests preserved and passing. Refs #118 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>