Skip to content

Commit 50bb967

Browse files
committed
build(deps): bump xunit from 2.5.3 to 2.6.0
1 parent 4ee0bb7 commit 50bb967

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

test/Pomelo.Extensions.Caching.MySql.Tests/MySqlCacheWithDatabaseTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -742,10 +742,10 @@ public async Task IsDuplicateKeyException()
742742
SlidingExpirationInSeconds = TimeSpan.FromSeconds(10)
743743
};
744744

745-
var exception = await Assert.ThrowsAsync<MySqlException>(async () =>
745+
var exception = await Assert.ThrowsAsync<MySqlException>((Func<ValueTask>)(async () =>
746746
{
747747
await SetCacheItemFromDatabaseAsync(key, value);
748-
});
748+
}));
749749
Assert.NotNull(exception);
750750
Assert.Equal(1062, exception.Number);
751751

test/Pomelo.Extensions.Caching.MySql.Tests/Pomelo.Extensions.Caching.MySql.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
<ItemGroup>
2727
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
28-
<PackageReference Include="xunit" Version="2.5.3" />
28+
<PackageReference Include="xunit" Version="2.6.0" />
2929
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.3">
3030
<PrivateAssets>all</PrivateAssets>
3131
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>

0 commit comments

Comments
 (0)