Capture test: the fixture's Game resets its inventory clicks too

capture(true) now calls reset_inventory_clicks; the fixture compiles the
method body against a stub Game.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Ludovic Marie
2026-10-26 12:33:08 +01:00
parent 78bfe74465
commit f4b4f944e3
+1
View File
@@ -101,6 +101,7 @@ impl Default for Game {
}
impl Game {
fn stop_mining(&mut self) { self.mining = false; }
fn reset_inventory_clicks(&mut self) {}
METHODS
}
fn main() {