mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 05:02:55 +08:00
Fix incorrect test step name
This commit is contained in:
parent
0eaff00787
commit
bdce79ed5b
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user