Skip to content

Commit 2d0bc90

Browse files
Add formatting for Actions priority tests.
1 parent be0d7f2 commit 2d0bc90

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

Assets/Tests/InputSystem/CoreTests_ActionsPriority.cs

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ internal static InputAction SetupTestAction(this InputActionMap map, string[] bi
2020
action.AddBinding("<Keyboard>/" + bindings[0]);
2121
return action;
2222
}
23-
23+
2424
case 2:
2525
{
2626
var modifier = bindings[0];
@@ -53,18 +53,18 @@ internal static InputAction SetupTestAction(this InputActionMap map, string[] bi
5353

5454
default:
5555
return null;
56-
}
56+
}
5757
}
5858
}
5959

6060
internal partial class CoreTests
6161
{
62-
private static readonly List<(string[], string[])> k_TwoInputActionTestCases = new ()
62+
private static readonly List<(string[], string[])> k_TwoInputActionTestCases = new()
6363
{
64-
(new[]{"ctrl", "x"}, new[]{"x"}),
65-
(new[]{"shift", "n"}, new[]{"n"}),
66-
(new[]{"ctrl", "shift", "h"}, new[]{"shift", "h"}),
67-
(new[]{"ctrl", "shift", "v"}, new[]{"shift", "v"}),
64+
(new[] {"ctrl", "x"}, new[] {"x"}),
65+
(new[] {"shift", "n"}, new[] {"n"}),
66+
(new[] {"ctrl", "shift", "h"}, new[] {"shift", "h"}),
67+
(new[] {"ctrl", "shift", "v"}, new[] {"shift", "v"}),
6868
};
6969

7070
private void PressBindingsForInputActions(Keyboard keyboard, InputAction action1, InputAction action2, InputAction action3 = null)
@@ -265,13 +265,13 @@ public void Actions_Priority_BothActionsFire_WhenPriorityIsZero((string[] a1, st
265265
Assert.That(action2WasPerformed, Is.True);
266266
}
267267

268-
private static readonly List<(string[], string[])> k_TwoInputActionNoConflictingBindingTestCases = new ()
268+
private static readonly List<(string[], string[])> k_TwoInputActionNoConflictingBindingTestCases = new()
269269
{
270-
(new[]{"ctrl", "x"}, new[]{"k"}),
271-
(new[]{"shift", "n"}, new[]{"l"}),
272-
(new[]{"shift", "h"}, new[]{"l"}),
273-
(new[]{"shift", "h"}, new[]{"ctrl", "shift", "o"}),
274-
(new[]{"ctrl", "shift", "v"}, new[]{"shift", "z"})
270+
(new[] {"ctrl", "x"}, new[] {"k"}),
271+
(new[] {"shift", "n"}, new[] {"l"}),
272+
(new[] {"shift", "h"}, new[] {"l"}),
273+
(new[] {"shift", "h"}, new[] {"ctrl", "shift", "o"}),
274+
(new[] {"ctrl", "shift", "v"}, new[] {"shift", "z"})
275275
};
276276

277277
[Test]

0 commit comments

Comments
 (0)