mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 15:22:55 +08:00
Use until step instead
This commit is contained in:
parent
a9d086c119
commit
b16152811d
@ -73,7 +73,7 @@ namespace osu.Game.Rulesets.Osu.Tests.Mods
|
|||||||
{
|
{
|
||||||
AddStep("set touch input active", () => statics.SetValue(Static.TouchInputActive, true));
|
AddStep("set touch input active", () => statics.SetValue(Static.TouchInputActive, true));
|
||||||
loadPlayer();
|
loadPlayer();
|
||||||
AddAssert("touch device mod activated", () => currentPlayer.Score.ScoreInfo.Mods, () => Has.One.InstanceOf<OsuModTouchDevice>());
|
AddUntilStep("touch device mod activated", () => currentPlayer.Score.ScoreInfo.Mods, () => Has.One.InstanceOf<OsuModTouchDevice>());
|
||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
|
Loading…
Reference in New Issue
Block a user