mirror of
https://github.com/ppy/osu
synced 2024-12-11 09:27:08 +00:00
0 links are expected
This commit is contained in:
parent
3d17a03dc6
commit
403a7aa000
@ -507,7 +507,7 @@ namespace osu.Game.Tests.Chat
|
||||
{
|
||||
Message result = MessageFormatter.FormatMessage(new Message { Content = "Hello world\uD83D\uDE12<--This is an emoji,There are more emojis among us:\uD83D\uDE10\uD83D\uDE00,\uD83D\uDE20" });
|
||||
Assert.AreEqual("Hello world[emoji]<--This is an emoji,There are more emojis among us:[emoji][emoji],[emoji]", result.DisplayContent);
|
||||
Assert.AreEqual(result.Links.Count, 4);
|
||||
Assert.AreEqual(result.Links.Count, 0);
|
||||
Assert.AreEqual(result.Links[0].Index, 11);
|
||||
Assert.AreEqual(result.Links[1].Index, 49);
|
||||
Assert.AreEqual(result.Links[2].Index, 52);
|
||||
|
Loading…
Reference in New Issue
Block a user