Skip to content

Commit bd72d2b

Browse files
committed
Corrected an invalid assert causing test failure that was overlooked.
1 parent 516e631 commit bd72d2b

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
@@ -1498,7 +1498,7 @@ public void Events_HandledEventsShouldNotTriggerActionsWhenSwitchingDevices()
14981498
// Step 4: Verify state is synchronized despite suppression — device state should
14991499
// reflect the press even though action notifications were suppressed.
15001500
Assert.That(gamepad.buttonSouth.isPressed, Is.True, "Device state should be updated even for handled events");
1501-
Assert.That(keyboard.spaceKey.isPressed, Is.False, "Keyboard key should reflect released state");
1501+
Assert.That(keyboard.spaceKey.isPressed, Is.True, "Keyboard state should reflect the handled press (state propagates)");
15021502
}
15031503

15041504
[Test]

0 commit comments

Comments
 (0)