mirror of
https://github.com/Xevion/Pac-Man.git
synced 2025-12-09 10:07:58 -06:00
chore: fix clippy lints
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user