Browse Source

Fixed minor event test issue

tags/docs-0.9
Brandon Smith 9 years ago
parent
commit
98687c80a1
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      Discord.Net.Tests/Tests.cs

+ 2
- 2
Discord.Net.Tests/Tests.cs View File

@@ -53,7 +53,7 @@ namespace Discord.Net.Tests
[TestMethod]
public void TestCreateVoiceRoom()
=> TestCreateRoom(ChannelTypes.Voice);
private void TestCreateRoom(string type)
private void TestCreateRoom(string type)
{
Channel channel = null;
string name = $"test_{_random.Next()}";
@@ -92,7 +92,7 @@ namespace Discord.Net.Tests
EventHandler<TArgs> handler = (s, e) =>
{
if (test != null)
result = test(s, e);
result |= test(s, e);
else
result = true;
};


Loading…
Cancel
Save