mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 23:53:51 +09:00
Add test coverage of int match failures
This commit is contained in:
@ -146,7 +146,10 @@ namespace osu.Game.Online.Chat
|
||||
|
||||
// https://osu.ppy.sh/beatmapsets/1154158#whatever
|
||||
string trimmed = mainArg.Split('#').First();
|
||||
return new LinkDetails(LinkAction.OpenBeatmapSet, trimmed);
|
||||
if (int.TryParse(trimmed, out id))
|
||||
return new LinkDetails(LinkAction.OpenBeatmapSet, id.ToString());
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
case "u":
|
||||
|
Reference in New Issue
Block a user