Skip to content

Commit 848b486

Browse files
Fix failing test.
1 parent 05aed76 commit 848b486

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

Assets/Tests/InputSystem/CoreTests_Actions.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12504,8 +12504,11 @@ public void Actions_ImprovedShortcutSupport_ConsumesWASD(bool shortcutsEnabled)
1250412504
.With("Left", "<Keyboard>/a")
1250512505
.With("Right", "<Keyboard>/d");
1250612506

12507-
// Change test to use Priority.
12508-
action1.Priority = 1;
12507+
if (shortcutsEnabled)
12508+
{
12509+
// Change test to use Priority.
12510+
action1.Priority = 1;
12511+
}
1250912512

1251012513
var map2 = new InputActionMap("map2");
1251112514
var action2 = map2.AddAction(name: "action2");

0 commit comments

Comments
 (0)