1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 06:47:24 +08:00

Fix incorrectly written string equality logic

This commit is contained in:
Dean Herbert 2022-04-20 17:51:08 +09:00
parent 8c2d70e93f
commit 2906af323a

View File

@ -127,7 +127,7 @@ namespace osu.Game.Tests.Visual.UserInterface
if (overlay.CurrentScreen?.IsLoaded != false)
nextButton.TriggerClick();
return nextButton.Text.ToString() == CommonStrings.Finish;
return nextButton.Text == CommonStrings.Finish;
});
AddUntilStep("step back to start", () =>