1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-13 21:27:54 +08:00

Fix unreported CI issue

This commit is contained in:
Dean Herbert 2019-09-12 18:46:42 +09:00
parent 1dfd104690
commit 68feedbd15

View File

@ -46,7 +46,6 @@ namespace osu.Game.Tests.Visual.Gameplay
}); });
Key testKey = ((KeyCounterKeyboard)kc.Children.First()).Key; Key testKey = ((KeyCounterKeyboard)kc.Children.First()).Key;
double time1 = 0;
AddStep($"Press {testKey} key", () => AddStep($"Press {testKey} key", () =>
{ {
@ -60,7 +59,6 @@ namespace osu.Game.Tests.Visual.Gameplay
{ {
InputManager.PressKey(testKey); InputManager.PressKey(testKey);
InputManager.ReleaseKey(testKey); InputManager.ReleaseKey(testKey);
time1 = Clock.CurrentTime;
}); });
AddAssert($"Check {testKey} counter after keypress", () => testCounter.CountPresses == 2); AddAssert($"Check {testKey} counter after keypress", () => testCounter.CountPresses == 2);