1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:17:23 +08:00

code quality

This commit is contained in:
Davran Dilshat 2021-09-11 16:47:20 +01:00
parent 605933c467
commit eeaa8a8380

View File

@ -90,7 +90,7 @@ namespace osu.Game.Tests.Visual.Online
case GetUserRequest getUser:
if (getUser.Lookup.Equals("some body", StringComparison.OrdinalIgnoreCase))
{
getUser.TriggerSuccess(new User()
getUser.TriggerSuccess(new User
{
Username = "some body",
Id = 1,
@ -100,6 +100,7 @@ namespace osu.Game.Tests.Visual.Online
{
getUser.TriggerFailure(new Exception());
}
return true;
}