Fix async warnings
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user