Browse Source

Update unit tests for new embed builder length

pull/1886/head
th0mk GitHub 4 years ago
parent
commit
0e7629c49f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      test/Discord.Net.Tests.Unit/EmbedBuilderTests.cs

+ 2
- 2
test/Discord.Net.Tests.Unit/EmbedBuilderTests.cs View File

@@ -126,7 +126,7 @@ namespace Discord
{ {
IEnumerable<string> GetInvalid() IEnumerable<string> GetInvalid()
{ {
yield return new string('a', 2049);
yield return new string('a', 4097);
} }
foreach (var description in GetInvalid()) foreach (var description in GetInvalid())
{ {
@@ -149,7 +149,7 @@ namespace Discord
{ {
yield return string.Empty; yield return string.Empty;
yield return null; yield return null;
yield return new string('a', 2048);
yield return new string('a', 4096);
} }
foreach (var description in GetValid()) foreach (var description in GetValid())
{ {


Loading…
Cancel
Save