Browse Source

add a test case to catch error fixed from prev commit

pull/1318/head
Chris Johnston 6 years ago
parent
commit
9143f56f12
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      test/Discord.Net.Tests/MessageHelperTests.cs

+ 2
- 0
test/Discord.Net.Tests/MessageHelperTests.cs View File

@@ -22,6 +22,8 @@ namespace Discord
[InlineData("`<:test:537920404019216384>`")]
[InlineData("``` @everyone `")] // discord client handles these weirdly
[InlineData("``` @everyone ``")]
[InlineData("` @here `")]
[InlineData("` @everyone @here <@163184946742034432> <@&163184946742034432> <#163184946742034432> <:test:537920404019216384> `")]
public void ParseTagsInCode(string testData)
{
// don't care that I'm passing in null channels/guilds/users


Loading…
Cancel
Save