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