mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-06 03:55:55 +00:00
build(deps): bump xunit from 2.6.1 to 2.6.3 (#2834)
* build(deps): bump xunit from 2.6.1 to 2.6.3 Bumps [xunit](https://github.com/xunit/xunit) from 2.6.1 to 2.6.3. - [Commits](https://github.com/xunit/xunit/compare/2.6.1...2.6.3) --- updated-dependencies: - dependency-name: xunit dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Add required async/awaits * public async void --> public async Task --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Keegan Campbell <me@kfcampbell.com>
This commit is contained in:
@@ -13,11 +13,11 @@ namespace Octokit.Tests
|
||||
public class ThePaginatedList
|
||||
{
|
||||
[Fact]
|
||||
public void RejectsInvalidValues()
|
||||
public async Task RejectsInvalidValues()
|
||||
{
|
||||
var client = Substitute.For<IRepositoriesClient>();
|
||||
|
||||
Assert.ThrowsAsync<ArgumentOutOfRangeException>(() => client.GetAllForOrgAsync("octokit")[-1]);
|
||||
await Assert.ThrowsAsync<ArgumentOutOfRangeException>(() => client.GetAllForOrgAsync("octokit")[-1]);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
@@ -72,7 +72,7 @@ namespace Octokit.Tests
|
||||
public void RejectInvalidValues()
|
||||
{
|
||||
var client = Substitute.For<IRepositoriesClient>();
|
||||
|
||||
|
||||
Assert.Throws<ArgumentOutOfRangeException>(() => client.GetAllForUserAsync("fake", -1));
|
||||
Assert.Throws<ArgumentOutOfRangeException>(() => client.GetAllForUserAsync("fake", 0));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user