mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Fix formatting issues
This commit is contained in:
@ -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,
|
||||||
|
Reference in New Issue
Block a user