1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 19:52:55 +08:00

Change brace style

This commit is contained in:
Bartłomiej Dach 2020-03-04 22:04:49 +01:00
parent e3e66991b0
commit 5b25b5dfab

View File

@ -57,21 +57,21 @@ namespace osu.Game.Tests.Visual.Online
[Test] [Test]
public void UserStatusesTests() public void UserStatusesTests()
{ {
AddStep("online", () => { peppy.Status.Value = new UserStatusOnline(); }); AddStep("online", () => peppy.Status.Value = new UserStatusOnline());
AddStep(@"do not disturb", () => { peppy.Status.Value = new UserStatusDoNotDisturb(); }); AddStep(@"do not disturb", () => peppy.Status.Value = new UserStatusDoNotDisturb());
AddStep(@"offline", () => { peppy.Status.Value = new UserStatusOffline(); }); AddStep(@"offline", () => peppy.Status.Value = new UserStatusOffline());
AddStep(@"null status", () => { peppy.Status.Value = null; }); AddStep(@"null status", () => peppy.Status.Value = null);
} }
[Test] [Test]
public void UserActivitiesTests() public void UserActivitiesTests()
{ {
AddStep("idle", () => { activity.Value = null; }); AddStep("idle", () => activity.Value = null);
AddStep("spectating", () => { activity.Value = new UserActivity.Spectating(); }); AddStep("spectating", () => activity.Value = new UserActivity.Spectating());
AddStep("solo", () => { activity.Value = new UserActivity.SoloGame(null, null); }); AddStep("solo", () => activity.Value = new UserActivity.SoloGame(null, null));
AddStep("choosing", () => { activity.Value = new UserActivity.ChoosingBeatmap(); }); AddStep("choosing", () => activity.Value = new UserActivity.ChoosingBeatmap());
AddStep("editing", () => { activity.Value = new UserActivity.Editing(null); }); AddStep("editing", () => activity.Value = new UserActivity.Editing(null));
AddStep("modding", () => { activity.Value = new UserActivity.Modding(); }); AddStep("modding", () => activity.Value = new UserActivity.Modding());
} }
} }
} }