1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-05 09:42:54 +08:00

Fix formatting issues

This commit is contained in:
recapitalverb 2020-03-18 01:39:19 +07:00
parent dc73105a10
commit 7186e3466b

View File

@ -48,6 +48,7 @@ namespace osu.Game.Tests.Visual.Ranking
base.LoadComplete();
var beatmapInfo = beatmaps.QueryBeatmap(b => b.RulesetID == 0);
if (beatmapInfo != null)
{
Beatmap.Value = beatmaps.GetWorkingBeatmap(beatmapInfo);
@ -64,16 +65,19 @@ namespace osu.Game.Tests.Visual.Ranking
[Test]
public void TestScoreWithNullAuthor()
{
AddStep("set author to null", () => {
AddStep("set author to null", () =>
{
Beatmap.Value.Metadata.Author = null;
});
addScoreStep(createTestScore());
AddStep("set author to not null", () => {
AddStep("set author to not null", () =>
{
Beatmap.Value.Metadata.Author = author;
});
}
private void addScoreStep(ScoreInfo score) => AddStep("add panel", () => {
private void addScoreStep(ScoreInfo score) => AddStep("add panel", () =>
{
Child = new Container
{
Anchor = Anchor.Centre,