Skip to content

Commit 2856155

Browse files
authored
Fix indentation inspection (ppy#38515)
From ppy#38496, see https://github.com/ppy/osu/security/code-scanning/391 and others. I'm PRing this rather than pushing to master in order to double check that CI is fine with this, because there are weird cases of crosstalk wherein fixing a resharper inspection will trigger a dotnet format inspection in return. I don't *think* that should happen with this from runs on my machine but who knows at this point. I'm not sure why there was no feedback about this on the original PR itself. Weirdly it seems that sometimes these alerts just do not result in feedback from the actions bot and they only show up once code lands in master. No idea what that's about.
1 parent 426c160 commit 2856155

1 file changed

Lines changed: 25 additions & 25 deletions

File tree

osu.Game.Tests/Visual/Multiplayer/TestSceneRoomPanel.cs

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -208,23 +208,23 @@ public void TestMultiplayerRooms()
208208
Children = new[]
209209
{
210210
new MultiplayerRoomPanel(new Room
211-
{
212-
Name = "A host-only room",
213-
Description = "Host controls the queue.",
214-
QueueMode = QueueMode.HostOnly,
215-
Type = MatchType.HeadToHead,
216-
RoomID = 1337,
217-
})
218-
{ ShowDescription = true },
211+
{
212+
Name = "A host-only room",
213+
Description = "Host controls the queue.",
214+
QueueMode = QueueMode.HostOnly,
215+
Type = MatchType.HeadToHead,
216+
RoomID = 1337,
217+
})
218+
{ ShowDescription = true },
219219
new MultiplayerRoomPanel(new Room
220-
{
221-
Name = "An all-players, team-versus room",
222-
Description = "Everyone can add maps. Team versus mode.",
223-
QueueMode = QueueMode.AllPlayers,
224-
Type = MatchType.TeamVersus,
225-
RoomID = 1338,
226-
})
227-
{ ShowDescription = true },
220+
{
221+
Name = "An all-players, team-versus room",
222+
Description = "Everyone can add maps. Team versus mode.",
223+
QueueMode = QueueMode.AllPlayers,
224+
Type = MatchType.TeamVersus,
225+
RoomID = 1338,
226+
})
227+
{ ShowDescription = true },
228228
new MultiplayerRoomPanel(new Room
229229
{
230230
Name = "A round-robin room",
@@ -258,15 +258,15 @@ public void TestRoomWithLongTitleAndDescription()
258258
Children = new[]
259259
{
260260
new MultiplayerRoomPanel(new Room
261-
{
262-
Name =
263-
"This room has a very very long title enough to make the external link button reach the participants list on the right side unless the test window is very wide, at which point I don't know, hi.",
264-
Description = "This room also has a very very long description sitting under that title to check that it also properly truncates when it reaches the right side of the panel, and if it doesn't, then hello again.",
265-
QueueMode = QueueMode.HostOnly,
266-
Type = MatchType.HeadToHead,
267-
RoomID = 1337,
268-
})
269-
{ ShowDescription = true },
261+
{
262+
Name =
263+
"This room has a very very long title enough to make the external link button reach the participants list on the right side unless the test window is very wide, at which point I don't know, hi.",
264+
Description = "This room also has a very very long description sitting under that title to check that it also properly truncates when it reaches the right side of the panel, and if it doesn't, then hello again.",
265+
QueueMode = QueueMode.HostOnly,
266+
Type = MatchType.HeadToHead,
267+
RoomID = 1337,
268+
})
269+
{ ShowDescription = true },
270270
}
271271
});
272272
}

0 commit comments

Comments
 (0)