chore: fix clippy lints

This commit is contained in:
Ryan Walters
2025-08-27 22:28:14 -05:00
parent 9624bcf359
commit 89b0790f19
2 changed files with 3 additions and 6 deletions

View File

@@ -222,7 +222,7 @@ fn test_player_control_system_toggle_debug() {
// Check that debug state changed
let debug_state = world.resource::<DebugState>();
assert_eq!(debug_state.enabled, true);
assert!(debug_state.enabled);
}
#[test]
@@ -565,7 +565,7 @@ fn test_player_state_persistence_across_systems() {
let position = *query.single(&world).expect("Player should exist");
// Check that the state changes persisted individually
assert_eq!(debug_state_after_toggle.enabled, true, "Debug state should have toggled");
assert!(debug_state_after_toggle.enabled, "Debug state should have toggled");
assert!(audio_muted_after_toggle, "Audio should be muted");
// Player position depends on actual map connectivity