Skip to content

Commit c0924e6

Browse files
committed
Corrected an invalid assert causing test failure that was overlooked.
1 parent 5701067 commit c0924e6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Assets/Tests/InputSystem/CoreTests_Events.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1580,7 +1580,7 @@ public void Events_HandledEventsShouldNotTriggerActionsWhenSwitchingDevices()
15801580
// Step 4: Verify state is synchronized despite suppression — device state should
15811581
// reflect the press even though action notifications were suppressed.
15821582
Assert.That(gamepad.buttonSouth.isPressed, Is.True, "Device state should be updated even for handled events");
1583-
Assert.That(keyboard.spaceKey.isPressed, Is.False, "Keyboard key should reflect released state");
1583+
Assert.That(keyboard.spaceKey.isPressed, Is.True, "Keyboard state should reflect the handled press (state propagates)");
15841584
}
15851585

15861586
[Test]

0 commit comments

Comments
 (0)