1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 01:52:55 +08:00

Fix incorrect test step name

This commit is contained in:
Andrei Zavatski 2020-04-13 09:57:05 +03:00
parent 0eaff00787
commit bdce79ed5b

View File

@ -64,7 +64,7 @@ namespace osu.Game.Tests.Visual.UserInterface
AddAssert("button is hidden", () => scroll.Button.State == Visibility.Hidden);
AddStep("scroll to 500", () => scroll.ScrollTo(500));
AddUntilStep("scrolled back to start", () => Precision.AlmostEquals(scroll.Current, 500, 0.1f));
AddUntilStep("scrolled to 500", () => Precision.AlmostEquals(scroll.Current, 500, 0.1f));
AddAssert("button is visible", () => scroll.Button.State == Visibility.Visible);
}