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:
dependabot[bot]
2023-12-18 13:07:52 -08:00
committed by GitHub
parent 849be93056
commit c895ac8efb
9 changed files with 21 additions and 21 deletions
@@ -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));
}