Fix async warnings

This commit is contained in:
Christopher F
2017-11-22 19:39:26 -05:00
parent e5dfb6c3e5
commit c461201fa5
2 changed files with 5 additions and 5 deletions

View File

@@ -7,7 +7,7 @@ namespace Discord
public partial class Tests public partial class Tests
{ {
[Fact] [Fact]
public async Task TestChannelPermission() public void TestChannelPermission()
{ {
var perm = new ChannelPermissions(); var perm = new ChannelPermissions();
@@ -84,7 +84,7 @@ namespace Discord
Assert.Equal(groupChannel, ChannelPermissions.Group.RawValue); Assert.Equal(groupChannel, ChannelPermissions.Group.RawValue);
} }
public async Task TestChannelPermissionModify() public void TestChannelPermissionModify()
{ {
// test channel permission modify // test channel permission modify
@@ -314,7 +314,7 @@ namespace Discord
} }
[Fact] [Fact]
public async Task TestChannelTypeResolution() public void TestChannelTypeResolution()
{ {
ITextChannel someChannel = null; ITextChannel someChannel = null;
// null channels will throw exception // null channels will throw exception

View File

@@ -7,7 +7,7 @@ namespace Discord
public partial class Tests public partial class Tests
{ {
[Fact] [Fact]
public async Task TestGuildPermission() public void TestGuildPermission()
{ {
// Test Guild Permission Constructors // Test Guild Permission Constructors
var perm = new GuildPermissions(); var perm = new GuildPermissions();
@@ -49,7 +49,7 @@ namespace Discord
} }
[Fact] [Fact]
public async Task TestGuildPermissionModify() public void TestGuildPermissionModify()
{ {
var perm = new GuildPermissions(); var perm = new GuildPermissions();